Stay organized with collectionsSave and categorize content based on your preferences.
Wednesday, April 16, 2008
Planning on moving your site to a new domain? Lots of webmasters find this a scary process. How do
you do it without hurting your site's performance in Google search results?
Your aim is to make the transition invisible and seamless to the user, and to make sure that
Google knows that your new pages should get the same quality signals as the pages on your own
site. When you're moving your site, pesky404 (File Not Found)errors can harm the user experience
and negatively impact your site's performance in Google search results.
Let's cover moving your site to a new domain (for instance, changing fromwww.example.comtowww.example.org). This is different from moving to a
new IP address; readthis postfor more information on that.
Here are the main points:
Test the move process by moving the contents of one directory or subdomain first. Then use a301Redirectto 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 avoid404errors, 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 bothexternal 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 likeXenuto make sure you don't have broken legacy links on your site. This is especially important if
your original content included absolute links (likehttps://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.
Finally, keep both your new and old site verified in Webmaster Tools, and reviewcrawl errorsregularly to make sure that the301errors from the old site are working properly, and that the new
site isn't showing unwanted404errors.
We'll admit it, moving is never easy - but these steps should help ensure that none of your good
web reputation falls off the truck in the process.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["\u003cp\u003eWhen moving your website to a new domain, use 301 redirects to permanently redirect pages from the old site to the corresponding pages on the new site, ensuring a smooth transition for users and search engines.\u003c/p\u003e\n"],["\u003cp\u003ePrioritize a page-to-page redirect approach over a blanket redirect to avoid 404 errors and maintain a consistent user experience.\u003c/p\u003e\n"],["\u003cp\u003eUpdate both external and internal links pointing to your old domain to reflect the new domain, ensuring proper link flow and preventing broken links.\u003c/p\u003e\n"],["\u003cp\u003eRetain control of your old domain for at least 180 days to prevent confusion and potential issues.\u003c/p\u003e\n"],["\u003cp\u003eAdd and verify your new site in Webmaster Tools, submit a Sitemap, and monitor crawl errors to ensure proper indexing and identify any potential problems.\u003c/p\u003e\n"]]],["To move a website to a new domain, first test the process with a directory or subdomain using 301 redirects. After successful testing, redirect each page from the old site to its corresponding new page. If pages don't align, redirect to a similar content page. Then, update internal and external links to the new domain. Keep control of the old domain for at least 180 days, and utilize Webmaster Tools to verify the new site and monitor crawl errors. Finally, submit a new sitemap to Google.\n"],null,["# Best practices when moving your site\n\nWednesday, April 16, 2008\n\n\nPlanning on moving your site to a new domain? Lots of webmasters find this a scary process. How do\nyou do it without hurting your site's performance in Google search results?\n\n\nYour aim is to make the transition invisible and seamless to the user, and to make sure that\nGoogle knows that your new pages should get the same quality signals as the pages on your own\nsite. When you're moving your site, pesky `404 (File Not Found)` errors can harm the user experience\nand negatively impact your site's performance in Google search results.\n\n\nLet's cover moving your site to a new domain (for instance, changing from\n`www.example.com` to `www.example.org`). This is different from moving to a\nnew IP address; read\n[this post](/search/blog/2008/01/feeling-lucky-at-pubcon) for more information on that.\n\nHere are the main points:\n\n- Test the move process by moving the contents of one directory or subdomain first. Then use a [`301` Redirect](https://en.wikipedia.org/wiki/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.\n- 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.\n- 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.\n- Check both [external and internal links to pages on your site](https://support.google.com/webmasters/answer/9049606). 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](https://home.snafu.de/tilman/xenulink.html) 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 `https://www.example.com/cooking/recipes/chocolatecake.html`) instead of relative links (like `.../recipes/chocolatecake.html`).\n- To prevent confusion, it's best to make sure you retain control of your old site domain for at least 180 days.\n- [Add your new site to your Webmaster Tools account, and verify your ownership of it](https://support.google.com/webmasters/answer/34592). Then create and submit a [Sitemap](/search/docs/crawling-indexing/sitemaps/overview) 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.\n- Finally, keep both your new and old site verified in Webmaster Tools, and review [crawl errors](https://support.google.com/webmasters/answer/7440203) regularly to make sure that the `301` errors from the old site are working properly, and that the new site isn't showing unwanted `404` errors.\n\n\nWe'll admit it, moving is never easy - but these steps should help ensure that none of your good\nweb reputation falls off the truck in the process.\n\nPosted by Rïona MacNamara, Webmaster Tools Team"]]