How do you migrate a website without losing rankings?
A phase by phase flow for redirects, crawling, tracking and post launch checks, built on what Google’s own site move documentation says.
You protect rankings in a website migration by mapping every important old URL to its closest new equivalent, serving server side permanent redirects (301 or 308) on launch day, and keeping those redirects live for at least a year. Then you verify the result with a crawl, Search Console, server logs and analytics until the new URLs have replaced the old ones in Google’s index.
No checklist can promise zero movement. Google’s own guidance says to expect temporary ranking fluctuation while it recrawls and reindexes a moved site, and that a medium sized site can take a few weeks or more for the new URLs to show up in place of the old ones. What a good plan does is keep that fluctuation short and stop it from turning into a permanent loss.
Key takeaways
- Map before you move: build an old to new URL list from sitemaps, analytics, server logs and the Search Console links report, including images and PDFs.
- Use permanent server side redirects: Google recommends 301 or 308, pointing straight to the final URL with no chains.
- Change one thing at a time: Google advises against combining a domain move, a CMS switch and a redesign in one launch.
- Change of Address is only for domain moves: not for HTTP to HTTPS, www to non-www, or path changes on the same domain.
- Keep redirects at least a year: Google’s site move guide says generally at least 1 year; the Change of Address tool asks for at least 180 days.
- Expect a temporary dip: Google describes ranking fluctuation during recrawling as normal; your job is to spot real errors fast.
What counts as a website migration?
For search purposes, a migration is any change that alters the URLs Google has indexed. Google’s site move guide gives three typical examples: moving from HTTP to HTTPS, changing domain name (or merging several domains or hostnames), and changing URL paths, such as turning page.php?id=1 into /widget.
If the reason for the migration is a new URL scheme, settle the structure before you map redirects. Our guide to designing an SEO friendly URL structure covers the patterns and when a URL change is worth the risk.
A redesign or CMS replatform often triggers a migration by accident, because the new system generates different URLs. This checklist follows Google’s order: prepare the new site, map URLs, turn on redirects, then monitor old and new URLs.
What should you decide before you start?
Three planning decisions do more to protect rankings than any single technical setting.
Change one thing at a time
Google advises planning changes one after another rather than all together. Its own example: if you want a new domain, a new CMS and a new layout, do them separately, for example move the domain first and change the layout afterwards. When everything changes at once and traffic drops, you cannot tell which change caused it. The Change of Address documentation adds that combining a move with a redesign of content and URL structure will “probably” cause some traffic loss, because Google may need to relearn and reassess individual pages.
Pick the timing
Google suggests moving during a recurring traffic dip. Fewer people hit early errors, and more server capacity is free for Googlebot, which crawls a moved site more heavily than usual for a while.
All at once or in sections
For small and medium sites, Google recommends moving all URLs at the same time, which helps its systems detect the move faster. Large sites can move one section at a time to make monitoring easier.
If you are unsure how healthy the current site is, run a technical SEO audit first. Migrating crawl errors and duplicate URLs only moves the problems to a new address.
If the migration includes a new domain, choose it carefully, because you will not want to move twice. Our guide on how to choose a domain name covers extensions, keywords and history checks.
How do you build the URL map?
The URL map is a spreadsheet (or database) with one row per old URL and a column for its new destination. It drives the redirects, the internal link updates, the new sitemap and every post launch check, so it deserves the most time.
Find the old URLs
Google lists several places to collect them, starting with your important URLs:
- XML sitemaps, since your most important URLs are likely already submitted there.
- Server logs and analytics for the URLs that get the most traffic. Pick a period long enough to cover seasonal pages.
- The Links report in Search Console for pages with internal and external links.
- Your CMS, which can usually export every URL that hosts content.
- Embedded files: images, videos, PDFs, JavaScript and CSS. Google says these need to move the same way as page URLs, because images and downloads may already get search traffic or links. Our guide to image SEO covers why image URLs matter.
For a straight domain change with identical paths, Google notes that a wildcard server side redirect may be enough. Any path change needs explicit mapping.
Map each URL to its closest equivalent
Each old URL should point to the new page that serves the same intent. Content you are not moving should return a 404 or 410, as Google recommends. Sending hundreds of unrelated URLs to the homepage does not preserve relevance.
Update everything that references a URL
Before launch, give each new URL a self referencing rel="canonical" tag (see our guide to canonical tags), update hreflang annotations, and change internal links to new URLs so your site does not rely on redirects. Our internal linking guide helps you prioritize. Save a new XML sitemap and a list of sites linking to your old URLs.
Which redirects should you use?
Google’s redirects documentation divides redirects into permanent and temporary. Permanent redirects tell Google to show the new target in search results; temporary ones tell it to keep showing the source page.
- Use server side 301 or 308 redirects. Google says server side redirects have the highest chance of being interpreted correctly, and its site move guide recommends HTTP permanent redirects such as 301 and 308.
- Do not use 302, 303 or 307 for a move. These are temporary. Googlebot follows them, but the indexing pipeline does not treat them as a signal that the target should be canonical.
- Fallbacks only if the server cannot redirect. An instant (0 second) meta refresh and a JavaScript
locationredirect are both treated as permanent, but Google calls client side redirects a last resort. A delayed meta refresh is treated as temporary. - Avoid chains. Googlebot can follow up to 10 hops, but Google advises redirecting straight to the final destination, and otherwise keeping chains low, ideally no more than 3 and fewer than 5. If you have old redirects from a previous migration, update them to point at the new final URLs.
On link value, Google is direct: 301 and other permanent redirects don’t cause a loss in PageRank. That removes a common worry, but it only holds when the redirect exists, is permanent, and points to a live, relevant page.
Check your site before and after the move
Run a free Klepha scan to capture a baseline of your search and AI visibility now, then compare it after launch to spot pages that did not carry over.
Run my free scanWhat should you crawl before launch?
Crawl the new site on staging with a desktop crawler before you switch anything on. Google’s own guide points to Screaming Frog as one option for checking that redirects work as expected. Look for:
- Every mapped URL returns 200 on the new site, and every dropped URL returns 404 or 410.
- Canonical tags point to the new URL itself, not to staging or the old domain.
- Internal links point directly to new URLs, not to old ones that would redirect.
- Titles, descriptions, headings and structured data carried over for your top pages. Losing on page content is a common reason a migrated page ranks worse, even with a perfect redirect.
- A prepared production robots.txt. Many teams block crawling or add a no-index robots rule during development. Google says to prepare the launch robots.txt in advance and list the URLs where that rule must be removed.
Then run your full list of old URLs through a crawler in list mode. Each should return a single 301 or 308 hop to the mapped destination, which should return 200.
Finally, verify old and new sites (all www, non-www, HTTP and HTTPS variants) in Search Console, keep your verification method working on the new site, and re-upload any disavow file to the new property.
How do you keep tracking intact?
Tracking is where migrations most often fail quietly: rankings may be fine, but nobody can prove it because analytics broke on launch day.
- Confirm the analytics tag fires on every template of the new site, including checkout, forms and thank you pages.
- Re-test conversions. Goals and events tied to old URL paths or page titles will stop counting if the paths changed. Our guide to setting up conversion tracking walks through the checks.
- Keep campaign parameters. Make sure redirects preserve query strings so UTM parameters on email and ad links still attribute correctly.
- Annotate the launch date in your analytics tool so later comparisons are honest.
- Save a baseline. Export Search Console performance by page and query, plus your rank tracking, for the weeks before the move. You will compare against it afterwards.
What happens on launch day?
Google’s sequence for starting the move is short:
- Turn on the redirects in your server configuration or CMS.
- Check that canonical tags on the new site use new URLs, and remove any temporary no-index rules and robots.txt blocks.
- Test redirects, using the URL Inspection tool for individual URLs and scripts or crawlers for large lists.
- If you changed domain or subdomain, submit a Change of Address in Search Console for the old site.
- Submit the new sitemap in Search Console.
When to use the Change of Address tool
Google’s Change of Address documentation limits the tool to moves from one domain or subdomain to another, such as example.com to example.org. Do not use it for HTTP to HTTPS, for moving pages between paths on the same site, for switching between www and non-www, or for a hosting change with no visible URL change.
You must own both properties under the same Google account, the property must be at domain level, and the tool does not move subdomains below the one you specify, including www, so Google says to run it for every subdomain variant of the old domain. For 180 days Google emphasizes crawling the new site and forwards signals to it.
Update links you control
Straight after launch, update internal links, high value external links, social profile links and ad landing pages.
What should you check after launch?
Google frames the move as complete only when Googlebot has visited every URL on both old and new sites at least once, and it happens per URL. There is no fixed crawl schedule. In Google’s words, a small to medium site can take a few weeks for most pages to move, and larger sites take longer.
First 48 hours
- Re-run the old URL list and confirm every row returns one permanent hop to the right page.
- Watch server error logs for unexpected 404 and 5xx responses, and check that Googlebot is crawling.
- Confirm analytics and conversions record real sessions on the new URLs.
Weeks 1 to 8
- Sitemaps report: submit both the old and new sitemaps. Google expects indexed counts in the old one to fall toward zero while the new one rises. Redirect warnings on the old sitemap are normal.
- Page indexing report: look for a drop on the old property, a rise on the new one, and any spike in “Not found” or other errors. Google says incorrect redirects to non-existent URLs are a frequent cause.
- Performance report: new URLs should begin to collect impressions and clicks. Compare top queries against your saved baseline.
- Rankings and traffic by page: a short, broad dip that recovers is consistent with Google’s description of recrawling. A sustained drop on specific templates usually points to a fixable cause; our guide on diagnosing a traffic drop can help.
Months 2 to 12 and beyond
Keep redirects live. Google’s site move guide says generally at least 1 year, and the Change of Address page sets a floor of 180 days and recommends keeping the old domain registered for at least a year so nobody else can misuse it. Rank and AI visibility tracking through Klepha’s blog ranking tools can show whether recovered pages hold their positions.
The full migration checklist
Owner names vary by team. The table shows who typically owns each task and the tool most teams use for it.
| Phase | Task | Owner or tool |
|---|---|---|
| Plan | Decide scope and order; avoid combining domain, CMS and redesign changes | SEO lead, project owner |
| Plan | Pick a lower traffic window; warn hosting about extra crawl load | Project owner, hosting provider |
| Plan | Export baseline rankings, Search Console performance and analytics | Search Console, analytics, rank tracker |
| Map | Collect old URLs, including images, PDFs, JS and CSS | Sitemaps, server logs, CMS export, crawler |
| Map | Map each old URL to its closest new equivalent; mark dropped URLs for 404 or 410 | SEO lead, content owner (spreadsheet) |
| Build | Self referencing canonicals, updated hreflang, updated internal links | Developers, CMS |
| Build | Write 301 or 308 rules with no chains; update legacy redirects | Developers (server config or CMS) |
| Build | Verify all old and new properties and variants; carry over verification and disavow | Search Console |
| Test | Crawl staging; test redirect list; check titles, content and structured data | Crawler, URL Inspection tool |
| Test | Confirm analytics tags, conversions and UTM pass through | Analytics, tag manager |
| Launch | Turn on redirects; remove no-index rules and robots.txt blocks | Developers |
| Launch | Submit Change of Address (domain moves only) and the new sitemap | Search Console |
| Launch | Update internal, profile, ad and high value external links | Marketing, PR, paid media |
| Monitor | Check logs, sitemaps, page indexing and performance against baseline | Server logs, Search Console, analytics |
| Maintain | Keep redirects at least 1 year; keep the old domain registered | Developers, domain owner |
Which mistakes cause lasting losses?
Google’s troubleshooting table lists leftover no-index or robots.txt blocks from staging, redirects to non-existent URLs, other crawl errors, insufficient server capacity, and sitemaps not updated with new URLs. Add two of our own: temporary 302 redirects left in place for a permanent move, and redirects removed too early during a later cleanup.
If you would rather have a second pair of eyes on the URL map and launch plan, see how we approach technical projects on our expertise page, or browse past results in our case studies.
Sources
- Google Search Central: Site moves and migrations: How to move a site. Supports the five step flow, URL mapping sources, one change at a time, temporary ranking fluctuation, 301 and 308 recommendation, redirect chain limits, keeping redirects at least 1 year, monitoring and troubleshooting. Page last updated August 20, 2026; accessed November 19, 2026.
- Google Search Central: Redirects and Google Search: Redirects and Google Search. Supports permanent versus temporary redirect types, meta refresh and JavaScript handling, and alternate names after a domain move. Page last updated November 16, 2026; accessed November 19, 2026.
- Search Console Help: Change of Address tool: Change of Address tool. Supports when to use and not use the tool, ownership and domain level requirements, subdomain variants, the 180 day period, and keeping the old domain for at least a year. Accessed November 19, 2026.
Frequently asked questions
Will a website migration hurt my rankings?
It can cause a temporary dip. Google says to expect ranking fluctuation while it recrawls and reindexes a moved site, and that medium sized sites can take a few weeks or more for new URLs to replace old ones. Accurate permanent redirects and a clean new site help keep that fluctuation temporary, but no process can promise zero movement.
Should I use 301 or 302 redirects for a site migration?
Use permanent redirects. Google recommends server side 301 or 308 redirects for site moves. 302, 303 and 307 are temporary, so Google keeps treating the old URL as the one to show in search results.
Do 301 redirects lose PageRank?
No. Google states that 301 and other permanent redirects do not cause a loss in PageRank. The redirect still needs to point directly to a relevant, live page without long chains.
When should I use the Change of Address tool in Search Console?
Only when moving from one domain or subdomain to another, such as example.com to example.org. Google says not to use it for HTTP to HTTPS moves, path changes within the same site, www to non-www switches, or hosting changes with no URL change.
How long should I keep redirects after a migration?
Google's site move guide says generally at least one year, and suggests keeping them indefinitely for users. The Change of Address documentation sets a minimum of 180 days, longer if Google Search still sends traffic to the old URLs.
How long does a site migration take to settle in Google?
Google says a small to medium sized website can take a few weeks for most pages to move, and larger sites take longer. The speed depends mainly on the number of URLs and how fast your server responds.