Migrate Without Losing SEO Rankings
Before You Start
This guide shows you how to migrate a website without losing SEO rankings, whether you change hosts, domain or URL structure. It is for site owners and developers planning a move that will change any address search engines know. You need a complete list of current URLs, access to the old and new sites and, for a domain change, access to Google Search Console for both properties.
Plan the Move and Map the URLs
- Export a full list of current URLs. Use a crawl tool or your XML sitemap to capture every indexable page, including files that attract traffic. This list is the reference for the whole project.
- Map each old URL to its closest new equivalent. Match pages one to one wherever possible. A redirect that sends everything to the homepage loses the link to specific content.
- Keep URLs unchanged when you can. A move to a new server with identical URLs is the lowest-risk case, because search engines see little change beyond brief downtime or speed differences.
- Prepare the new site before launch. Check that robots rules or noindex tags from a staging setup are gone, and that internal links point to the new addresses.
Launch, Redirect and Monitor
- Set up permanent redirects. Redirect each old URL to its new address with a 301 status code, which tells search engines the new address is lasting. Test a sample of redirects before the switch.
- Update sitemaps and internal links. Submit a sitemap that lists only new URLs, and fix internal links that still point to old addresses.
- Tell search engines about a domain change. If the domain changes, use the change of address option in Search Console for the old property.
- Compare rankings and traffic. Track the same pages for several weeks. Some movement is normal while search engines recrawl, but persistent drops on important pages need investigation.
Common Mistakes That Cost Rankings
- Redirecting old pages to the homepage or to unrelated pages.
- Leaving redirect chains, where one old address passes through several steps.
- Keeping a robots.txt rule or noindex tag from the old or staging setup after launch.
- Letting sitemaps and internal links keep listing old URLs.
Ask your host or a technical SEO specialist for help if downtime runs longer than planned, if redirects fail for important pages, or if the new server responds slowly. Share your URL map and the switch date so they can compare the timing with your ranking data.
Does changing hosts always hurt rankings?
No. A host change that keeps URLs and content the same usually has little effect. Problems tend to come from downtime, slower responses or accidental changes to robots rules and redirects. Planning the move so the site stays available and unchanged keeps the impact small.
Should a migration use a 301 or 302 redirect?
For a permanent move, use a 301 redirect, because it tells search engines the new address is the lasting one. A 302 redirect signals a temporary change and is generally unsuitable for a migration. Check that every redirect returns the status code you intended. Read 301 vs 302 redirect for details.
How long will rankings take to recover after a move?
There is no fixed timeline. Search engines must recrawl old and new addresses and update their index, which can take several weeks on large sites. Compare results with the previous period, allowing for seasonal demand, to separate migration effects from other changes.