Website Migration Without Losing Rankings: A Step-by-Step SEO Plan

Redesigns, CMS changes, domain moves and hosting migrations are the riskiest moments for organic traffic. This step-by-step plan covers inventory, redirect mapping, testing, launch day and post-launch monitoring.

Rows of server racks inside a data centre
Photo: Hugovanmeijeren / Wikimedia Commons (source & licence)

Key takeaways

  • Most migration traffic losses come from missing or wrong redirects, lost content and accidental noindex/robots blocks.
  • Crawl and benchmark everything before you touch anything.
  • Map every valuable old URL to the most relevant new URL with a 301 redirect.
  • Test on staging, launch at a quiet time, then monitor daily for at least four weeks.

Management and maintenance at Yves Media regularly include database migration and moving websites between hosts, platforms and domains. Migrations are where years of SEO work can be undone in a single afternoon — or carried over safely. The difference is preparation. Here is the plan we follow.

Types of migration and their risk

Migration typeExamplesSEO risk
Hosting / serverNew host, new server, CDN changeLow (if URLs and content stay identical)
ProtocolHTTP → HTTPSLow–medium
Design / templateNew theme, new layoutMedium (content and internal links change)
Structure / URLNew URL patterns, merged sectionsHigh
Platform / CMSBuilder → WordPress, WordPress → headlessHigh
DomainRebrand, new TLD, merging sitesHigh

Phase 1: Plan and benchmark

  • Define goals and scope; avoid bundling unnecessary changes.
  • Choose a launch window with low traffic and full team availability (not before a holiday).
  • Export Search Console performance data (queries and pages) for the last 16 months.
  • Record rankings for priority keywords and AI visibility for key prompts.
  • Export analytics landing-page data, conversions and revenue per page.
  • Back up files and the database completely.

Phase 2: Inventory every URL

Combine URLs from several sources to make sure nothing valuable is missed:

  • A full crawl of the current site.
  • XML sitemaps.
  • Search Console pages report and analytics landing pages.
  • Backlink tools (pages with external links).
  • Server logs (URLs search engines still request).

Deduplicate and classify each URL: keep, merge, redirect or remove.

Phase 3: Redirect mapping

  1. Map each old URL to the most relevant new URL — not to the homepage.
  2. Use 301 (permanent) redirects, implemented server-side or via a reliable redirect manager.
  3. Avoid chains: old URL → final URL in one hop. Update existing redirects to point to new targets.
  4. For content you are removing without a replacement, return 404 or 410 rather than redirecting to an irrelevant page.
  5. Preserve parameters where they matter (campaign tracking, pagination) and test pattern-based rules carefully.
Real example

When we rebuilt this website, the old contact page lived at an odd URL (/224286-2/) and policies used /privacy-cookie-policy/ and /terms-of-service/. All of them now 301-redirect to the new, clearer URLs, so existing links and bookmarks keep working.

Phase 4: Build and test on staging

  • Block staging from indexing with password protection (more reliable than robots.txt alone).
  • Crawl staging and compare with the old crawl: titles, meta descriptions, H1s, canonicals, structured data, word counts, internal links.
  • Test the full redirect map against staging and confirm every rule returns a single 301 to a 200 page.
  • Check Core Web Vitals on key templates.
  • Verify analytics, consent management, forms and e-commerce tracking.
  • For database migrations: verify serialized data, search-and-replace URLs safely, check character encoding, table prefixes and user roles.

Phase 5: Launch day

  1. Final backups of old and new environments.
  2. Deploy, then immediately remove staging protections and any noindex or “discourage search engines” settings.
  3. Check robots.txt, the XML sitemap and canonical tags on live URLs.
  4. Run the redirect test against the live site.
  5. Submit the new sitemap in Search Console and Bing Webmaster Tools; for domain changes, use Google’s Change of Address tool and keep both properties verified.
  6. Spot-check top landing pages manually on mobile and desktop.
  7. Ping participating search engines via IndexNow for key URLs.

Phase 6: Monitor and fix (weeks 1–8)

  • Daily (week 1): 404 errors, server errors, redirect hits, conversions.
  • Weekly: Search Console page indexing, impressions and clicks by page group, Core Web Vitals.
  • Compare with your benchmark; investigate pages with large drops first.
  • Ask sites with important backlinks to update links to the new URLs.
  • Keep redirects in place for at least a year — ideally permanently.

Common migration mistakes

  • Redirecting everything to the homepage.
  • Forgetting to remove noindex from staging.
  • Dropping content sections or internal links during a redesign.
  • Changing URLs, content, design and domain all at once without testing.
  • Letting the old domain expire after a domain move.

Conclusion

A migration is a project, not a deployment. Benchmark, inventory, map, test, launch carefully and monitor. Run a technical SEO audit before and after, and keep security tight during the move (see our hardening checklist). If you would like experienced hands on your next migration, get in touch — it is part of our management and maintenance work.

FAQ

A well-executed migration often sees temporary fluctuations for a few weeks while search engines recrawl and reprocess URLs. Larger sites and domain changes can take several months to settle fully.

Keep them as long as possible – Google recommends at least one year – and ideally permanently, because old URLs may still be linked from other websites and bookmarks.

If possible, avoid combining many changes. Separating a domain move from a redesign makes it easier to diagnose problems. If you must combine them, plan and test even more carefully.

Written by the Yves Media Editorial Team

Our editors, SEO specialists and developers have been building and running content platforms since 2016. Every article is researched, fact-checked and reviewed under our editorial policy.

Collaboration

Have a project?
Contact us if you require our services.

We’re a team of creatives who are excited about developing unique ideas and aiding companies to create an amazing identity through crafting top-notch UI/UX and effective SEO and content marketing.

Contact Us