Choose a Primary Domain for SEO

Part six of our Launch Essentials guide covers redirecting users to the proper domains and paths.

Discuss in our Forum Discuss in Slack

In this lesson, we'll redirect all traffic to a primary domain, which is a best practice for SEO. This means if you choose as your primary domain, then if a visitor navigates to (or any other domain you have connected to your site), they will end up on

Choose one of the following options to configure the primary domain.

Set a Primary Domain via the Dashboard


With a Primary Domain set at the platform level, all other domains (except the platform domain) will be pointed to your Primary domain at the root level. If you want to redirect secondary domains to specific pages on your site (for example, to, do not set a Primary Domain. Instead use PHP redirects.

  1. From the environment you want to set a primary domain for (typically Test or Live), navigate to Domains / HTTPS.

  2. Ensure that all domains have been added and are listed.

  3. In the Choose Primary Domain section, select the domain to which traffic should be redirected, and click Save Configuration.

Set a Primary Domain with Terminus

  1. Install or upgrade to the latest version of Terminus.

  2. Use Terminus to add the primary domain. In this example, replace:

    • my-site with your site name,
    • live if you'd like to set it for a different environment
    • with your primary domain:
    terminus domain:primary:add

Update URL References (WordPress)

WordPress site admins must ensure that all URLs in the site's database are updated. See Fix WordPress Content References to the Wrong Domain After Cloning for more information.

Ready to launch like the pros?

Now that you're redirecting requests to a single, primary domain, it's the perfect time to configure a long-duration HSTS header, or set up an availability monitoring service to watch over your site like an automated hawk.

Send a Long-Duration HSTS Header for Increased Security

Prevent cookie hijacking and get an A+ rating from SSL Labs.

Setup Availability Monitoring (Optional)

New Relic provides a free availability monitoring service that sends a request to designated URLs from configured locations at given intervals and alerts you via email if a response fails.