Website Migrations Without Losing Rankings: A Practical Plan

Most migration traffic losses come from missing redirects and forgotten details. This plan covers benchmarking, URL mapping, launch-day checks and monitoring.

Website Migrations Without Losing Rankings: A Practical Plan

You keep rankings through a website migration by making sure every old URL with value permanently redirects (301) to its closest new equivalent, the new pages keep the content and signals that earned those rankings, and nothing blocks search engines on launch day. Most traffic losses come from missing or incorrect redirects, deleted content and leftover staging settings, not from the move itself. Some ranking fluctuation in the weeks after a large move is normal.

Key takeaways

  • Benchmark traffic, rankings and indexed URLs before you change anything.
  • Build a complete URL map from old to new, page by page, before launch.
  • Use single-hop 301 redirects to equivalent pages, never a blanket redirect to the home page.
  • On launch day, check robots.txt, noindex tags, canonicals and sitemaps immediately.
  • Monitor 404s, redirects and Search Console closely for at least a few months.

Types of migration and their risk

MigrationWhat changesRelative risk
HTTP to HTTPSProtocol onlyLower, if redirects are clean
Hosting moveServer, IP; URLs unchangedLower, watch for downtime and speed
Domain changeEvery URL's hostMedium
URL structure changePaths and slugsMedium to high
CMS or platform changeTemplates, URLs, often contentHigh
Redesign with content consolidationPages merged, removed or rewrittenHigh

The more you change at once, the harder it is to diagnose problems afterward. If you can, separate a domain move from a redesign.

Phase 1: Before the migration

Benchmark everything

Export the data you will compare against later:

  • Organic sessions and conversions by landing page for the last 12 months (seasonality matters).
  • Search Console performance: queries and pages, clicks and impressions.
  • Rankings for your important keywords, if you track them.
  • Indexed page count from the Search Console Page indexing report.
  • Core Web Vitals and page speed for key templates.

Build a full list of old URLs

No single source has every URL. Combine a full crawl of the current site, your XML sitemap, Search Console's top pages, analytics landing pages, and your backlink tool's list of most-linked pages. Pages that get links or traffic but are not in your navigation are the ones most often forgotten.

Map old URLs to new URLs

Create a spreadsheet with one row per old URL and its new destination. Rules:

  • Like for like. /blog/seo-tips goes to /guides/seo-tips/, not to /guides/.
  • Merged pages redirect to the page that now covers that content.
  • Removed pages with no equivalent can return 404 or 410. Redirecting them to the home page frustrates users and is often treated as a soft 404 anyway.
  • Keep valuable content. If a page ranks well, keep its main content, title and headings close to the original unless you have a strong reason to change them.

Prepare the new site on staging

  • Protect staging with a password (HTTP authentication), not just robots.txt, so it is never indexed.
  • Crawl staging to check titles, meta descriptions, headings, canonical tags and internal links.
  • Make sure internal links point directly to new URLs rather than relying on redirects.
  • Check that structured data, hreflang and analytics tracking survived the rebuild.

Phase 2: Implementing redirects

Use permanent 301 (or 308) redirects. Implement them at the server or CDN level where possible, not with JavaScript or meta refresh. A typical nginx rule for a domain move looks like this:

server {
    listen 443 ssl;
    server_name old-example.com www.old-example.com;
    return 301 https://www.example.com$request_uri;
}

For path changes, an Apache example:

Redirect 301 /blog/seo-tips https://www.example.com/guides/seo-tips/
RedirectMatch 301 ^/products/(.*)$ https://www.example.com/shop/$1

Avoid redirect chains and loops

If http://old-example.com/page redirects to https://old-example.com/page, then to https://www.example.com/page, then to https://www.example.com/page/, that is three hops. Each hop adds latency and risk. Update old redirect rules so every legacy URL reaches its final destination in one step. Check all host and protocol variants with a www Redirect Checker.

Phase 3: Launch day

  1. Remove staging blocks. Check robots.txt does not contain Disallow: / and that no template has <meta name="robots" content="noindex">. This is the single most common launch-day disaster.
  2. Test redirects from your mapping sheet. Run a sample, ideally all of them, through a Server Status Checker to confirm each returns 301 and the destination returns 200.
  3. Check canonicals point to the new URLs, not to the old domain or staging host.
  4. Submit a new XML sitemap listing the new canonical URLs. An XML Sitemap Generator works for smaller sites if your CMS does not produce one. Some teams also keep a temporary sitemap of old URLs so crawlers find the redirects faster.
  5. Verify the new property in Search Console. For a domain change, use the Change of Address tool in the old property after redirects are live.
  6. Confirm analytics is recording on the new site.

Phase 4: After launch

First week

  • Check server logs or your crawler for 404s on old URLs and add missing redirects.
  • Run a Broken Links Finder on key pages to catch internal links that still point to removed URLs.
  • Watch Search Console for crawl errors, spikes in "Not found (404)" and pages excluded by noindex.
  • Use URL Inspection on important pages to confirm Google can fetch them and sees the right canonical.

First months

  • Compare organic traffic by landing page against your benchmark, accounting for seasonality.
  • Look at pages that lost the most traffic: is the redirect correct? Did content or titles change? Did internal linking to them drop?
  • Update important external links where you can, such as your social profiles, business listings and partner sites.
  • Keep redirects in place. Google recommends at least a year; keeping them permanently is safer.

Notes on specific migration types

HTTP to HTTPS

Install a valid certificate covering every hostname you use, redirect all http URLs to their https equivalents, and update internal links, canonicals, sitemaps and hard-coded image or script URLs to https so pages do not load mixed content. Add the https version in Search Console if you use URL-prefix properties; a Domain property covers both protocols automatically.

Hosting moves

When URLs stay the same, the main risks are downtime and slower responses. Lower the DNS TTL a day or two before the switch, keep the old server running until DNS has propagated, and compare response times and error rates on the new host. If the new server returns 5xx errors for a sustained period, Google may temporarily crawl less.

Platform changes

New CMSs often change URL patterns silently: adding /category/ segments, dropping trailing slashes, or changing pagination parameters. Compare a crawl of staging against your old URL list to catch these before launch rather than after.

Common migration mistakes

  • Redirecting everything to the home page.
  • Using 302 (temporary) redirects and forgetting to switch them to 301.
  • Launching with the staging noindex still in place.
  • Dropping content that ranked because it "did not fit the new design."
  • Letting the old domain expire, which breaks every redirect at once.
  • Forgetting images, PDFs and other files that had their own traffic and links.
  • Launching just before your busiest season, leaving no time to recover.

Google's documentation on site moves with URL changes covers the official recommendations in detail.

Quick checklist

  • Benchmarks exported and saved.
  • Complete old-URL inventory and one-to-one redirect map.
  • Staging password-protected; launch removes all noindex and robots blocks.
  • Single-hop 301s tested; canonicals and internal links updated.
  • New sitemap submitted; Change of Address used for domain moves.
  • 404s, broken links and traffic monitored for months, with redirects kept long term.

Frequently asked questions

How long does it take for rankings to recover after a migration?
It varies with site size and how much changed. A well-executed move of a small site may settle within a few weeks, while large sites can take months for search engines to recrawl and reprocess everything. Fluctuation during that period is normal; a sustained drop usually points to a specific problem worth investigating.
How long should I keep 301 redirects in place?
Google recommends keeping them for at least a year, and keeping them indefinitely is safer where practical. Old URLs live on in bookmarks, emails and links from other sites. If you control the old domain, keep renewing it so the redirects keep working.
Should I redirect all old pages to the home page?
No. Mass redirects to the home page are often treated like soft 404s, so the old page's value is not passed along and users land somewhere irrelevant. Redirect each old URL to its closest equivalent, and let pages with no equivalent return 404 or 410.
Is it a bad idea to change design, URLs and domain at the same time?
It is riskier, because if traffic drops you cannot easily tell which change caused it. When possible, split large changes into stages, such as moving to HTTPS or a new domain first and redesigning later. If you must combine them, be extra thorough with redirect mapping and testing.
Marketing Automation - New e-commerce features

Latest articles

All articles →