Advertisement

5 min read

How to Migrate a Website Without Losing SEO Rankings

TL;DR: Website migrations destroy SEO rankings when redirects break, URLs change without mapping, sitemaps don't update, and meta tags go missing. Free tools fo...

Preserve Your Search Rankings During a Redesign or Host Change

TL;DR: Website migrations destroy SEO rankings when redirects break, URLs change without mapping, sitemaps don't update, and meta tags go missing. Free tools for redirect generation, broken link checking, DNS verification, sitemap creation, and meta tag configuration prevent the most common migration disasters. I've migrated 20+ sites and only lost rankings once, before I had this process.


A client redesigned their website and launched it on a Friday afternoon. By Monday, organic traffic had dropped 65%. Their top 10 ranking pages had vanished from Google. Three months of recovery followed.

The cause was predictable: old URLs changed without redirects, the sitemap still listed deleted pages, and the new site's meta tags were default placeholders. Every migration mistake in the book, committed simultaneously.

I now follow a rigid pre-migration and post-migration checklist. Zero surprise traffic drops in the last 15 migrations.

Before Migration: Document Everything

Map Your Current URLs

Before changing anything, document every URL on your site. The Sitemap Generator creates a current map of all pages. Save this as your reference for redirect mapping.

Run the Broken Link Checker on key pages to identify existing issues. Fix broken links before migrating so you don't carry problems into the new site.

Record Current Meta Tags

Use the Meta Tag Preview on your top 20 pages. Screenshot or document each page's title, description, and structured data. After migration, you'll verify these transferred correctly.

Check Current Rankings and Traffic

Note your current organic traffic baseline and keyword rankings. You'll compare against these numbers post-migration to catch any drops immediately.

During Migration: Set Up Redirects

Generate Redirect Rules

The HTACCESS Redirect Generator creates 301 redirect rules for Apache servers. Every old URL must point to its new equivalent. No exceptions. A single unredirected page means lost rankings and a broken experience for anyone who bookmarked it.

Map old URLs to new URLs one-to-one. Don't redirect everything to the homepage. Google treats that as a soft 404, and you lose page-specific ranking authority.

Verify Redirects Work

The Redirect Checker traces the full redirect chain. Run every mapped redirect through it to confirm: old URL → 301 → new URL. Watch for redirect chains (A → B → C) and loops (A → B → A). Both hurt rankings and user experience.

The HTTP Status Code Checker confirms each URL returns the expected status code. New pages should return 200. Old pages should return 301.

After Migration: Verify Everything

DNS and SSL

The DNS Lookup confirms your domain points to the new server. If you changed hosts, DNS propagation can take up to 48 hours. Check from multiple locations. The SSL Checker verifies your HTTPS certificate is correctly configured on the new environment. More diagnostic tools in my network tools guide.

Website Status

The Website Status Checker confirms the new site is publicly accessible and returning proper status codes. The GZIP Test verifies compression is enabled on the new server.

SEO Configuration

Regenerate and submit a new sitemap reflecting the new URL structure. Verify robots.txt doesn't block search engines. Check meta tags on every key page with the Meta Tag Preview. Verify structured data is present.

Run the Broken Link Checker across the new site. Internal links are the most common casualty of migrations.

Social Previews

The Open Graph Preview verifies social sharing still works correctly. Update SEO tags and Twitter Card tags if URLs changed. Full social setup in my social media toolkit.

Image Optimization

New designs often mean new images. Run every image through the Image Compressor and Resizer before uploading. Convert to WebP for modern browsers. Full workflow in my image optimization guide.

Post-Migration Monitoring

Week 1

Check Google Search Console daily for crawl errors. Run the Broken Link Checker on your top 10 pages. Verify redirects are still working.

Week 2-4

Monitor organic traffic trends. Compare to your pre-migration baseline. If traffic drops more than 10%, investigate immediately using the tools above.

Month 2-3

Traffic should recover to pre-migration levels. If specific pages haven't recovered, check their redirects, meta tags, and internal links individually.

The Migration Checklist

Pre-migration:

  1. Generate current sitemap (baseline)
  2. Document meta tags on top 20 pages
  3. Fix existing broken links
  4. Create redirect map (old URL → new URL)

During migration: 5. Generate HTACCESS redirect rules 6. Verify every redirect with Redirect Checker 7. Check status codes on key pages

Post-migration: 8. Verify DNS configuration 9. Check SSL certificate 10. Test website status and GZIP 11. Submit new sitemap 12. Verify robots.txt 13. Check meta tags on all key pages 14. Run Broken Link Checker 15. Verify social sharing previews 16. Optimize all new images

Monitoring: 17. Daily Search Console checks (week 1) 18. Weekly traffic comparison (month 1) 19. Monthly full audit (months 2-3)

Full SEO audit process: How to Audit Your Website SEO for Free.

FAQ

How long does it take for Google to recognize redirects? Google typically processes 301 redirects within days to a few weeks. Complex sites with thousands of pages may take longer. Submitting an updated sitemap accelerates the process.

Should I redirect HTTP to HTTPS during migration? Yes. If you're migrating, consolidate HTTP→HTTPS and www→non-www (or vice versa) in a single redirect. Avoid creating unnecessary redirect chains.

What if I can't create one-to-one redirects for every page? At minimum, redirect category/section pages to their closest equivalent. For individual pages with no match, redirect to the parent category. Only as a last resort redirect to the homepage.

How do I know if the migration hurt my rankings? Compare organic traffic in Google Analytics before and after. A drop of more than 10% in the first two weeks indicates migration issues. Check Search Console for crawl errors and coverage drops.

Can I undo a bad migration? You can restore old redirects, resubmit the correct sitemap, and fix broken links. Recovery takes time but is possible. The earlier you catch problems, the faster the recovery.

This website uses Cookies to ensure optimal user experience.