1. Home
  2. Blog
  3. How to migrate a website without losing your Google rankings

SEO

How to migrate a website without losing your Google rankings

A laptop showing an analytics dashboard with charts

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.

  1. Every URL from the crawl and Search Console export returns a 301 to a live page, not a 404 or a chain of redirects.
  2. No important page redirects to the home page; that is treated like a missing page.
  3. The new site has an XML sitemap listing only live, canonical URLs.
  4. robots.txt does not block the new site (staging rules are often left in by mistake).
  5. Analytics and conversion tracking fire on the new templates.
  6. 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.

Questions, answered

How long until rankings recover after a migration?
With complete redirects and equivalent content, most sites settle within a few weeks. Large sites or big structural changes can take longer.
Should I use 301 or 302 redirects?
Use 301 (permanent) redirects for a migration. A 302 tells search engines the move is temporary.
Can I remove old pages during the migration?
Yes, but redirect them to the closest relevant page. Only let a page return 404 or 410 if nothing relevant exists and it has no traffic or links.