When I saw Google had posted an official guide to redirecting an old domain to a new one, I Twittered the link to the 1700+ people following me. This morning I had lots of notes saying the link was broken! To make it up to you all, I’m posting the news again, this time to the blog.
So, here’s the deal. You should know that the best way to move a web site from one domain to another, is using a 301 permanent redirect. It’s not that hard, if you know what you’re doing. Still, there’s always the concern–actually it’s more like a gut-wrenching feeling–that you’ll do something out of synch, and lose all your precious Google rankings.
Well, despite Matt Cutts doing his best to answer this question at every single conference he speaks at, Google WebMaster Central Blog decided it was time to provide its official guide to moving domain names.
Here are the main points:
- Test the move process by moving the contents of one directory or subdomain first. Then use a 301 Redirect to permanently redirect those pages on your old site to your new site. This tells Google and other search engines that your site has permanently moved.
- Once this is complete, check to see that the pages on your new site are appearing in Google’s search results. When you’re satisfied that the move is working correctly, you can move your entire site. Don’t do a blanket redirect directing all traffic from your old site to your new home page. This will avoid 404 errors, but it’s not a good user experience. A page-to-page redirect (where each page on the old site gets redirected to the corresponding page on the new site) is more work, but gives your users a consistent and transparent experience. If there won’t be a 1:1 match between pages on your old and new site, try to make sure that every page on your old site is at least redirected to a new page with similar content.
- If you’re changing your domain because of site rebranding or redesign, you might want to think about doing this in two phases: first, move your site; and second, launch your redesign. This manages the amount of change your users see at any stage in the process, and can make the process seem smoother. Keeping the variables to a minimum also makes it easier to troubleshoot unexpected behavior.
- Check both external and internal links to pages on your site. Ideally, you should contact the webmaster of each site that links to yours and ask them to update the links to point to the page on your new domain. If this isn’t practical, make sure that all pages with incoming links are redirected to your new site. You should also check internal links within your old site, and update them to point to your new domain. Once your content is in place on your new server, use a link checker like Xenu to make sure you don’t have broken legacy links on your site. This is especially important if your original content included absolute links (like www.example.com/cooking/recipes/chocolatecake.html) instead of relative links (like …/recipes/chocolatecake.html).
- To prevent confusion, it’s best to make sure you retain control of your old site domain for at least 180 days.
- Add your new site to your Webmaster Tools account, and verify your ownership of it. Then create and submit a Sitemap listing the URLs on your new site. This tells Google that your content is now available on your new site, and that we should go and crawl it.
- Finally, keep both your new and old site verified in Webmaster Tools, and review crawl errors regularly to make sure that the 301s from the old site are working properly, and that the new site isn’t showing unwanted 404 errors.
Here’s my advice. Follow each recommendation exactly, and, if Google still drops all of your hard earned rankings, sue complain to them!
* OK, so we made-up the part about the money-back guarantee.