Skip to main content

How to Migrate a WordPress Site Without Losing SEO Rankings

How to Migrate a WordPress Site Without Losing SEO Rankings

Most ranking drops after a site migration were preventable. They happen not because Google penalizes migrations, but because teams skip steps that seem optional until the traffic graph starts falling. A WordPress migration - whether it's a host change, a domain rebrand, a protocol upgrade, or a full CMS switch - touches every signal Google uses to evaluate a page: URL structure, crawlability, page speed, internal linking, and canonical authority. Handle these correctly and rankings recover quickly, sometimes within days. Handle them carelessly and recovery can take months.

This guide walks through every stage of a WordPress migration with enough operational detail to use as a working checklist.

The Four Types of WordPress Migration

Not all migrations carry the same SEO risk. Understanding which type you're executing shapes how much preparation you need.

  • Same domain, new host: The lowest-risk migration. Your URLs don't change, so no redirect mapping is needed. The primary SEO concerns are downtime during DNS propagation and performance differences between the old and new server - particularly Core Web Vitals. A slow new host can depress rankings even if every URL is intact.

  • Domain change: The highest-risk migration. Every URL changes, which means every backlink, every cached SERP result, and every internal link points to a dead address until redirects are in place. This requires a comprehensive 301 redirect map and a Google Search Console domain change notification.

  • HTTP to HTTPS: Technically a domain change (the origin changes), but Google has well-established handling for this. The risk is moderate - primarily from missed mixed-content issues, incomplete redirect chains, or canonical tags that still reference the HTTP version after the switch.

  • CMS migration (to or from WordPress): The most complex scenario. URL structures often change, template markup changes, and structured data implementations may be lost entirely. This type requires the most thorough pre-migration audit and the most careful post-migration validation.

Pre-Migration Checklist

The work you do before touching a single file determines how much SEO equity survives the move. Skipping the pre-migration phase is the single most common reason migrations fail.

Audit Your Existing Rankings and Traffic

Before the migration, document your baseline. Export your top-performing pages from Google Search Console - specifically impressions, clicks, and average position for the past three months. Pull your organic landing pages from Google Analytics. This data becomes your recovery benchmark: after migration, you need a precise record of what "normal" looked like so you can identify which pages underperformed and investigate why.

Run a full SEO Analyzer audit on your current site. Document all existing meta titles, meta descriptions, canonical tags, hreflang attributes, and schema markup. If your structured data disappears post-migration because it was hardcoded in a theme that doesn't transfer, you'll want to know exactly what needs to be rebuilt.

Crawl the Site and Map Every URL

Use a crawler (Screaming Frog, Sitebulb, or equivalent) to generate a complete list of all indexed URLs, their HTTP status codes, and their internal link relationships. This crawl serves two purposes: it gives you the source list for redirect mapping, and it surfaces any existing crawl errors you should fix before - not after - the migration.

Pay particular attention to:

  • Canonicalized URLs: If a URL is canonical to another, only the canonical needs a redirect - but the destination of that canonical must also be redirected correctly.

  • Paginated series: Archive pages, category pages, and paginated blog indexes are frequently forgotten in redirect maps.

  • Media and attachment URLs: WordPress generates attachment pages for every uploaded image. These accumulate index coverage over time and need handling.

Document Your 301 Redirect Map

For domain changes and CMS migrations, build a spreadsheet mapping every old URL to its new equivalent. The rule is strict: every URL that has ever received a backlink or appeared in a SERP needs a 301 redirect to the most relevant equivalent page. A redirect to the homepage is a last resort, not a default strategy - Google treats homepage redirects for non-homepage URLs as soft 404s.

If the URL structure is staying the same (same-host migrations, HTTP-to-HTTPS), the redirect map is simpler - a single server-level rule handles the protocol or domain change. You can generate and validate your .htaccess redirect rules using the .htaccess Generator.

Back Up Everything

A full backup - files and database - is non-negotiable. Store it off-server. A migration that goes wrong and can't be rolled back is far more damaging to rankings than a delayed migration.

The Migration Process

Replicating the Site with Signocore Clone

For host migrations and staging environment setups, the Signocore Clone plugin provides a clean way to duplicate a WordPress installation - including the database, uploads, themes, and plugins - without the manual database export/import cycle that introduces serialization errors and missed URL replacements.

The typical workflow is: clone the live site to a staging environment, validate everything on staging, then promote staging to production. This approach means the live site stays online and fully functional during the migration, and you only execute the DNS cutover once you've confirmed the new environment is working correctly.

Staging Environment Setup

On the staging environment, verify the following before going live:

  • All plugins are active and functional, particularly any SEO, caching, or schema plugins.

  • The robots.txt file on staging is set to block indexing - you don't want staging pages appearing in search results. Use the robots.txt Generator to produce a correctly formatted disallow rule for the staging domain.

  • All internal links and media references point to the correct new domain (not the old one), if the domain is changing.

  • Page speed and Core Web Vitals on the new host are equal to or better than the old environment.

  • Structured data is intact. Validate key page types - homepage, articles, products - using Google's Rich Results Test or the Schema.org Generator to confirm markup is rendering correctly.

DNS Changes and Cutover

Lower your DNS TTL to 300 seconds (5 minutes) at least 24 hours before the cutover. This ensures that once you point the DNS records to the new server, propagation happens quickly and the window during which some visitors see the old site and others see the new one is minimized.

Execute the DNS change during your lowest-traffic window - typically early morning on a weekday. Monitor both environments during propagation. Once the new server is receiving the majority of traffic, verify that your 301 redirects are firing correctly before decommissioning the old environment.

You can verify DNS propagation status using the DNS Lookup tool to confirm records have updated across resolvers.

Post-Migration Checklist

The migration isn't complete when the site goes live. The post-migration phase is where SEO equity is either preserved or lost.

Verify All Redirects

Crawl the old domain (or old URLs) and confirm every redirect returns a 301 status with the correct destination. Check for redirect chains - a 301 that points to another 301 before reaching the final URL passes less link equity and slows crawling. Chains of more than two hops should be collapsed to a single direct redirect.

Update Google Search Console

For domain changes, use the Change of Address tool in Google Search Console to formally notify Google. This accelerates the recrawl of redirected URLs and helps Google consolidate ranking signals to the new domain faster. Add and verify the new domain as a property, submit your updated XML sitemap, and monitor the Coverage report daily for the first two weeks.

Validate your sitemap before submission using the Sitemap Validator to catch malformed entries, missing URLs, or incorrect lastmod dates before Google's crawler encounters them.

Update Internal Links and Canonical Tags

Even with redirects in place, internal links that point to old URLs create unnecessary redirect hops on every page load and dilute crawl efficiency. Run a post-migration crawl and update all internal links to point directly to their new destinations. Confirm that all canonical tags reference the new URLs - a canonical pointing to the old HTTP domain after an HTTPS migration is a common and damaging oversight.

Monitor for Crawl Errors

Set up daily monitoring in Google Search Console for the first month. Watch the Coverage report for a spike in 404 errors, which indicates URLs that were missed in your redirect map. Cross-reference any 404s against your pre-migration crawl data and add missing redirects immediately.

Common Migration Mistakes That Tank Rankings

The failures that cause lasting ranking damage follow predictable patterns:

  • Redirecting everything to the homepage: Google interprets mass homepage redirects as soft 404s. Each page needs to redirect to its closest equivalent, not to a generic fallback.

  • Forgetting the XML sitemap update: A sitemap that still lists old URLs tells Google the old URLs are canonical. Update the sitemap before or immediately after going live.

  • Launching without a staging validation: Changes that look correct in a local environment frequently break in production due to server configuration differences, caching layers, or plugin conflicts. Always validate on a staging environment that mirrors production.

  • Changing URL structure during a host migration: Combining a host migration with a URL restructure doubles the risk. If you need to change URL structure, treat it as a separate migration with its own redirect map and validation cycle.

  • Missing structured data after theme changes: If your schema markup was implemented in a theme template rather than through a dedicated plugin, a theme change during migration silently removes it. Post-migration, validate structured data across all key page types. The Signocore SEO plugin generates page-specific schema markup at the plugin level, so it survives theme changes without manual reconstruction.

  • Decommissioning the old server too quickly: DNS propagation can take up to 48 hours for some resolvers. Keep the old server live and serving 301 redirects for at least 30 days after the cutover.

How Long Does Recovery Take

With a well-executed migration - complete redirect mapping, no downtime, correct canonical tags, and immediate Search Console updates - rankings for a same-domain host migration typically stabilize within 48-72 hours. For an HTTP-to-HTTPS migration, expect one to two weeks for Google to fully recrawl and reindex the HTTPS versions.

Domain changes take longer. Google needs to recrawl every redirected URL, re-evaluate the new domain's authority, and consolidate link signals. A clean domain migration with a formal Change of Address notification typically shows full recovery in four to twelve weeks, depending on crawl budget and the size of the site. Sites with thousands of pages and complex backlink profiles can take longer.

CMS migrations that also change URL structure are the slowest to recover - typically two to four months - because Google is effectively learning a new site architecture. The more pages that change URL, the longer the consolidation period.

The timeline compresses when you give Google everything it needs upfront: a complete sitemap, clean 301 chains, valid structured data, and no crawl errors. Every hour you spend on pre-migration preparation is worth several weeks of post-migration recovery time.

Get in touch

Have questions about this article?

Get in touch if you'd like to learn more about this topic.

Contact us