SEO
How to migrate a website without losing your Google rankings

Summary: Map every old URL to its closest new page with a permanent (301) redirect, keep content and titles equivalent, rehearse the move on staging, and monitor crawl errors and rankings daily for at least 30 days after launch.
Why migrations lose traffic
Search engines rank individual URLs. When addresses change without redirects, the history attached to each one is lost and visitors land on error pages. Most traffic drops after a relaunch trace back to this.
Build a complete URL map
Crawl the old site, export URLs from Search Console and analytics, and map each one to its closest new page. Pages with backlinks or steady traffic matter most, so check those by hand.
Rehearse on staging
Test every redirect, compare titles and content side by side, and check internal links before launch. Problems found on staging cost minutes to fix; the same problems after launch cost rankings.
Watch closely after launch
Submit the new sitemap, monitor crawl errors daily and compare rankings weekly for at least 30 days. Fix any 404s with traffic the same day.
What to keep the same
Search engines re-evaluate pages that change. The less you change at once, the faster rankings settle. Where you can, keep these stable through the migration and improve them afterwards:
- URLs, or at least a one-to-one redirect for each
- Page titles and main headings on pages that rank
- Internal links between important pages
- Structured data such as product or article markup
- The canonical domain (do not switch www and non-www at the same time as a platform move)
A pre-launch checklist
Run through this on staging, with the redirect map loaded, before you switch DNS.
- Every URL from the crawl and Search Console export returns a 301 to a live page, not a 404 or a chain of redirects.
- No important page redirects to the home page; that is treated like a missing page.
- The new site has an XML sitemap listing only live, canonical URLs.
- robots.txt does not block the new site (staging rules are often left in by mistake).
- Analytics and conversion tracking fire on the new templates.
- Canonical tags point at the new URLs, not the staging domain.
The first 30 days
Expect some movement. A short dip while search engines re-crawl is normal; a sustained drop usually points to missing redirects, blocked pages or content that was cut.
Check Search Console daily in the first week for crawl errors and pages excluded from the index, fix any 404 that had traffic or links the same day, and compare rankings and organic sessions for your top pages weekly against the pre-launch baseline.
Key takeaways
- Search engines rank URLs: every old one needs a home.
- Change as little as possible on launch day; improve afterwards.
- Rehearse with the redirect map on staging.
- Watch closely for 30 days and fix traffic-carrying 404s the same day.