When moving a site from a subdomain to a primary domain, what's the best way to redirect the traffic
 by Kristi Hagen

When moving a site from a subdomain to a primary domain, what's the best way to redirect the traffic?

  • I have a client who is moving domains. The site is large and currently resides on a subdomain. The new site structure will be the same. The web designer plans to use the .htaccess file (or some form of Javascript coding?) to take a URL like:

    https://content.current-domain.co.uk/index.php?route=product/category&path=69_164

    ...and then change it to:

    https://www.new-domain.co.uk/index.php?route=product/category&path=69_164

    ...as a form of 301 redirect.

    Is this the best way and what are the downsides if any?

Answer:

Yes, you should use a 301 redirect, typically in the .htaccess file, to accomplish this task. We recommend this article – How to Use a 301 Redirect – as a reference. Just follow the steps.

Additionally...

  1. Regarding the old site; hopefully you have that property/domain verified in Google Search Console. If not, get the old domain verified before moving it. Doing this will enable you to inform Google that the site has moved. Remember, you must verify the subdomain: content.current-domain.co.uk, NOT www.new-domain.co.uk
  2. Next activate your 301 redirect when you are ready to launch the new www.new-domain.co.uk domain.
  3. Verify the new domain in Google search console.
  4. Finally, submit a change of address notification for the old domain to Google Search Console - for instructions go here.

That should do it.SEN article end

...

Already a member? Sign in here

Read the rest of this article,
and get all this for only $1.

  • The Search Engine Strategies Updates for December 2018
  • Ultimate Guide to Avoiding Google Penalties
  • The Complete Site Audit Checklist
  • The Definitive Local Search Audit Checklist
  • 100's of Strategic SEO Articles and Q&As
  • The Professional Engine Master's Chart
  • The Internet Marketing Glossary
  • The Ultimate Directory Submission List
  • The Pro SEO's Local Search Directory List
  • 16 years of SEN Archives
  • PLUS, as a Full SEN Basic Member, you'll be eligible for hundreds of dollars of discounts on SEO courses ranging from beginner to master on a variety of topics including organic search, local search, and social networking.

  • Your $1 Trial is good for 7 days at which time your card will be charged $29/mo unless you cancel before December 26th, 2018

 This form is encrypted for your security