A site migration is any change to a website’s URLs, domain, protocol, hosting or structure large enough to affect how search engines crawl and index it. Google distinguishes moves with URL changes, such as a new domain or an HTTP-to-HTTPS switch, from moves without URL changes, such as a change of hosting provider [1][2]. Done well, signals transfer to the new URLs; done badly, pages can drop out of search [1].
1Overview
Migrations are among the riskiest changes a site can make for search. Every ranking signal Google has associated with the old URLs needs a clear path to the new ones, and every reference to the old URLs needs updating [1].
2Planning
- Inventory all current URLs, including those that receive traffic or external links [1].
- Build a mapping of each old URL to its closest new equivalent [1].
- Prepare the new site’s robots.txt, sitemaps and canonicals in advance, and test on staging [1].
- Make sure staging protections such as noindex or robots.txt blocks are removed before launch [11][12].
3Redirects
Google recommends permanent server-side redirects (301 or 308) from each old URL to its new URL [1][4]. Permanent redirects are a strong signal that the target should become canonical [4].
Redirects should go directly to the final URL in one hop; Googlebot follows up to 10 redirect hops before reporting an error [5].
4Updating references
Alongside redirects, the site should stop pointing at its own old URLs. Google recommends updating [1]:
5Domain changes
When moving to a new domain, Google recommends verifying both properties in Search Console and submitting a Change of Address request after the redirects are live [1][3].
6Moves without URL changes
Moving hosting infrastructure without changing URLs needs no redirects. Google advises keeping both old and new hosting running during the switch and watching for a temporary dip in crawl rate as Googlebot adjusts [2].
7Monitoring
After a move, Google suggests watching for crawl errors and indexing changes. The Page indexing report shows which old and new URLs are indexed and why others are excluded [8]; the Crawl Stats report shows Googlebot’s request volume and response codes [9].
Some fluctuation in rankings is expected while Google recrawls and processes the new URLs [1].
8Common mistakes
| Mistake | Consequence |
|---|---|
| Redirecting all old URLs to the homepage | Signals lost; may be treated as soft 404s [1][5] |
| Using temporary redirects | Old URLs may stay canonical [4] |
| Removing redirects after a few weeks | Late-crawled URLs and old links break [1] |
| Leaving staging noindex in place | New site excluded from search [11] |
See also
- Checklists guide: the interactive migration checklist
- HTTP redirects: status codes in detail
- Search indexing: canonicals after a move
- Hreflang: updating clusters during a move
References
- [1]“Site moves with URL changes”. Google Search Central. developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes
- [2]“Move a site with no URL changes”. Google Search Central. developers.google.com/search/docs/crawling-indexing/site-move-no-url-changes
- [3]“Change of Address tool”. Search Console Help. support.google.com/webmasters/answer/9370220
- [4]“Redirects and Google Search”. Google Search Central. developers.google.com/search/docs/crawling-indexing/301-redirects
- [5]“How HTTP status codes and network errors affect Google Search”. Google Search Central. developers.google.com/search/docs/crawling-indexing/http-network-errors
- [6]“How to specify a canonical URL with rel="canonical" and other methods”. Google Search Central. developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls
- [7]“Build and submit a sitemap”. Google Search Central. developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap
- [8]“Page indexing report”. Search Console Help. support.google.com/webmasters/answer/7440203
- [9]“Crawl Stats report”. Search Console Help. support.google.com/webmasters/answer/9679690
- [10]“Tell Google about localized versions of your page”. Google Search Central. developers.google.com/search/docs/specialty/international/localized-versions
- [11]“Block Search indexing with noindex”. Google Search Central. developers.google.com/search/docs/crawling-indexing/block-indexing
- [12]“Introduction to robots.txt”. Google Search Central. developers.google.com/search/docs/crawling-indexing/robots/intro