The Complete Guide to SEO for Website Migrations: How to Preserve Rankings During Domain and Platform Moves

The Complete Guide to SEO for Website Migrations: How to Preserve Rankings During Domain and Platform Moves

Types of Website Migrations and Their Risks

Migration types:

  1. Domain migration (A.com → B.com)
  2. HTTP to HTTPS migration
  3. Platform migration (WordPress → Shopify)
  4. URL structure restructuring (/blog/post → /articles/post)
  5. Subdomain to root domain migration

Risk levels:

Migration Type Risk Level Estimated Traffic Loss
HTTP→HTTPS Low <5% (if executed correctly)
URL restructuring Medium 10-30% (3-6 months to recover)
Domain migration High 30-50% (6-12 months to recover)
Platform migration + URL changes Very high 50-70% (1-2 years to recover)

Pre-Migration Preparation

Step 1: Take a Comprehensive Backup of the Current State

Must be recorded:

This data serves as the benchmark for evaluating performance after the migration.

Step 2: Map Old URLs to New URLs

Create a complete mapping table for every URL that needs to be migrated:

Old URL New URL Status
/old-blog/article-1 /articles/article-1 Mapping confirmed
/old-product/item-1 /products/item-1 Mapping confirmed

Guiding principles:

Step 3: Validate in a Staging Environment

Before taking the new site live in production, validate the following in a staging environment:

Executing the Migration

HTTP to HTTPS Migration

Correct procedure:

  1. Install the SSL certificate
  2. Redirect all HTTP URLs to HTTPS (301 redirects)
  3. Ensure canonical tags use the HTTPS version
  4. Update sitemap.xml to use HTTPS URLs
  5. Add the HTTPS version as a property in GSC
  6. Update the tracking code for Google Analytics and GSC

Common mistakes:

Domain Migration

Setting up 301 redirects: Configure bulk redirects in the server configuration file:

# Nginx configuration example
server {
    listen 80;
    server_name old-domain.com;
    return 301 https://new-domain.com$request_uri;
}

The GSC domain migration tool: GSC provides a dedicated "Change of Address" tool to notify Google that you are migrating your domain.

Path: GSC → Settings → Change of Address

URL Structure Restructuring

Configuring bulk redirects with Screaming Frog:

  1. Import the list of old URLs and the new URL mapping
  2. Implement the 301 redirects in bulk in the server configuration file
  3. Use Screaming Frog to verify that all redirects are correct

Post-Migration Monitoring

Week One: Daily Monitoring

Month One: Weekly Monitoring

Tips for Fast Post-Migration Recovery

  1. Submit the new site's sitemap in GSC
  2. Use "Request Indexing" for core pages
  3. Speed up the discovery of new URLs through internal linking
  4. Email important backlink sources to request that they update their links to the new URLs

Conclusion

Website migration is a high-risk operation, and thorough up-front preparation is the single most important risk-control measure. Implementing 301 redirects properly, using GSC's Change of Address tool, and establishing close post-migration monitoring are the keys to minimizing traffic loss.