SEO for Site Migrations: Map URL Changes Without Losing Organic Traffic
A site migration can disrupt rankings when URLs, internal links, or redirects are overlooked. Learn how to map old URLs to relevant destinations and verify the transition before and after launch.
Build your URL mapping plan before you finalize the new site's structure. Every existing URL that attracts search visits, earns links, or serves a useful purpose needs an explicit outcome: remain available, redirect to a relevant replacement, or return a genuine removal status. Treating redirects as a launch-day cleanup task makes it easier to strand valuable pages or send visitors to destinations that do not meet their needs.
A migration can change how search engines crawl, interpret, and index your site, so no mapping plan can guarantee unchanged traffic. What a good plan provides is control: documented destinations, testable rules, clear ownership, and a way to distinguish expected reprocessing from a broken launch. This walkthrough focuses on building that plan for a domain, platform, or URL-structure migration.
Define the Migration Scope and Inventory Existing URLs
Start by listing exactly what will change. A domain move may preserve every path, while a platform migration may alter paths, trailing slashes, query parameters, navigation, and page templates at once. Include protocol and hostname changes, such as moving from HTTP to HTTPS or from a www hostname to a non-www version. If content, language targeting, or site architecture will also change, record those as separate workstreams rather than hiding them inside the redirect task.
Where practical, avoid combining a migration with extensive content deletion and a complete redesign. Separate changes are easier to diagnose. When the business requires a combined launch, capture the old content, templates, metadata, and performance baseline so you can investigate whether a decline came from URL handling, removed information, or rendering changes.
Combine URL sources instead of trusting one crawl
A crawl finds URLs reachable through the links it can access; it does not necessarily find orphan pages, older campaign URLs, or pages that still receive backlinks. Build a master inventory from multiple sources, keeping a source column so you know why each URL was included.
Crawl the live site and export URLs, response codes, titles, canonical targets, indexability, and internal-link counts.
Export landing pages and organic-search performance from your analytics platform and Google Search Console. Use a period that represents normal demand and relevant seasonality.
Collect current XML sitemaps and a CMS or database export of published pages, products, categories, and other public content.
Review backlink data and server logs, where available, for linked or requested URLs missing from the crawl.
Include earlier redirect sources, alternate hostnames, important query-string URLs, and search-visible files such as PDFs.
Deduplicate carefully. URL paths can be case-sensitive, and parameters may identify different content rather than tracking alone. Keep the original URL intact, then create a separate normalized field for matching. Do not lowercase paths or discard all parameters unless you have confirmed that doing so preserves the site's actual behavior.
Create a mapping sheet that can drive implementation and testing
Use one row per source URL or explicitly defined source pattern. Include the old URL, current status, page type, topic or purpose, canonical URL, relevant traffic and backlink signals, proposed destination, intended response, mapping rationale, owner, and review status. Add fields for actual redirect destination, final response code, canonical check, and test result. Keep a versioned copy so developers and reviewers work from the same approved plan.
Prioritize review effort, not coverage. High-traffic landing pages, linked resources, revenue-driving pages, and major navigation hubs deserve individual checks, but low-traffic URLs still need a defined outcome. Current traffic alone does not reveal every page's value.
Match Old URLs to the Most Relevant New Destinations
Match pages by purpose and content, not simply by similar URL text. Ask what someone expected to find on the old page and whether the proposed replacement fulfills that expectation. A strong destination covers the same subject, serves the same audience, and supports the same task. Preserving existing paths where they remain suitable reduces the number of moving parts.
Unchanged page and URL: retain the URL and check that its content, indexability, and canonical signals remain appropriate.
Same page at a new address: map the old URL directly to its new equivalent.
Several pages consolidated: redirect each old page to the consolidated resource only if it meaningfully covers their topics.
One page split into several: select the closest primary replacement, or retain a useful overview page that helps visitors reach the new resources.
Removed page with no relevant replacement: return a proper 404 or 410 response rather than redirecting visitors to unrelated content.
For example, in a hypothetical store migration, /shop/trail-shoe-a might become /products/trail-shoe-a. That is a straightforward equivalent. If the product is discontinued, a successor model may be a suitable destination when it genuinely replaces the old product. A broad footwear category is not automatically equivalent. Consider whether keeping a useful discontinued-product page would better serve people looking for specifications, compatibility, or support.
Avoid a catch-all redirect that sends every missing URL to the homepage. It obscures mapping gaps, frustrates visitors, and may be treated by Google as a soft 404 when the destination does not meaningfully replace the missing content. A real not-found response is more accurate than an irrelevant redirect.
Automated matching can suggest candidates using stable content IDs, product SKUs, locale codes, titles, or path patterns. Use those suggestions to speed up review, not replace it. Manually inspect ambiguous matches, many-to-one mappings, important landing pages, and any rule that crosses languages or changes page type. Record unresolved cases and assign an owner rather than silently approving the nearest-looking URL.
Build Redirects and Update Internal Links
For permanent URL moves, implement server-side permanent redirects, typically HTTP 301 or 308. Configure them at the server, CDN, or application layer that reliably receives requests for the old URLs. Confirm the old domain will remain under your control and continue to resolve; redirects cannot work if its hosting route or DNS is removed. Old HTTPS addresses also need a valid certificate so browsers can connect before receiving a redirect.
Send each old URL directly to its final destination where feasible. If a page previously moved from A to B and is now moving to C, update the redirect from A to point to C rather than leaving an avoidable chain. Ensure the destination returns a successful response, contains the intended content, and is indexable when it is meant to appear in search.
Use broad rules only where the relationship is predictable
A domain-only move with unchanged paths may suit a hostname-level rule. A platform change with irregular paths usually needs explicit mappings plus narrowly defined patterns. Apply specific exceptions before general rules, and decide how to handle trailing slashes, encoded characters, uppercase paths, and query parameters. Preserve parameters required for content or functionality; remove obsolete ones only after confirming they are unnecessary.
Do not let broad redirect rules turn nonexistent old paths into successful new pages. Test random invalid paths as well as known URLs. Also check that redirect targets cannot be manipulated into sending users to arbitrary external domains through an unvalidated destination parameter.
Make the new site's signals point directly to the new URLs
Update navigation, breadcrumbs, contextual links, pagination, and template links to use final destinations rather than redirecting URLs.
Update canonical tags to the intended production URLs. Do not use canonical tags as a substitute for redirects when pages have moved.
Update hreflang references, including reciprocal links, where localized URLs change.
Generate XML sitemaps containing the intended canonical, indexable URLs rather than redirects or removed pages.
Review structured data, image and document references, feeds, and other URL-bearing fields for old-domain or staging-domain references.
Keep permanent redirects in place for at least a year, following Google's site-move guidance, and preferably longer for URLs that still receive visits or have external links. Retaining them also protects people using old bookmarks and documents. Where practical, ask the owners of important external links to update those links directly, but do not make that outreach a prerequisite for a working redirect.
Test the Migration Before Launch
Validate the mapping against the actual implementation, not just the spreadsheet. Use a protected staging environment, preview routing, or a hosts-file setup that lets your team exercise production-style rules. Keep staging unavailable to public indexing, preferably through authentication or restricted access, and document which protections must change at launch. Blocking crawling in robots.txt alone does not reliably prevent URLs from appearing in search.
Run two complementary crawls
First, request the complete old-URL inventory in list mode and follow redirects. Compare each observed result with the approved mapping: initial status, redirect hops, final URL, final status, indexability, and canonical target. Automated comparison is especially useful for identifying destinations that look valid but differ from the plan.
Second, crawl the new site through its internal links. This reveals broken links, redirecting navigation, orphaned sections, and pages that the mapping test alone would miss. For JavaScript-dependent sites, inspect rendered content and links on representative templates, not just the initial HTML. Check that essential content remains available to search engines without requiring interactions such as a click or login.
Check important pages manually for missing copy, titles, headings, images, structured data, and functional navigation.
Test protocol and hostname variants, trailing slashes, meaningful parameters, international characters, and older redirect sources.
Confirm pages intended for search are not blocked by robots.txt, meta robots noindex, or an X-Robots-Tag header.
Check for redirect loops, unexpected temporary redirects, irrelevant destinations, server errors, and successful responses displaying not-found content.
Verify that production canonicals and hreflang references will not retain the staging hostname.
Exercise key user journeys, including forms and checkout where applicable, so a technically valid redirect does not conceal a broken experience.
Set launch gates and assign a decision-maker
Define launch blockers before the deadline creates pressure to ignore them. Examples include sitewide noindex directives, unavailable old-domain redirects, broken high-value destinations, widespread server errors, or incorrect canonical templates. Name an owner for redirect configuration, content fixes, DNS, analytics, and search monitoring. Prepare a rollback or repair plan that accounts for database changes and any transactions made after launch; reverting is not always simple or safer than fixing forward.
Monitor Crawling, Indexing, and Organic Traffic After Launch
As soon as the production release is live, repeat the old-URL tests and crawl the new site. Staging success does not prove that production DNS, CDN rules, certificates, caching, and application routing are correct. Confirm that temporary staging restrictions are absent from pages intended for indexing and that analytics is recording the new site correctly.
Verify the relevant old and new properties in Google Search Console and submit the new XML sitemap. For an eligible domain move, use Google's Change of Address tool after the move and redirects are in place; it is not intended for an ordinary path-only restructuring. Use URL Inspection on representative old and new URLs to investigate accessibility and indexing signals, while remembering that reports and indexed data may lag behind the live site.
Compare page groups and mapped pairs, not just site totals
Review key destinations and errors frequently immediately after launch, then adjust the monitoring cadence as the site stabilizes. Compare performance by page type, directory, market, device, and mapped old-to-new page pair. Domain-level totals can hide a failed category, while tracking only the old URLs can make successfully transferred traffic look lost. Account for seasonality, campaigns, and tracking changes before attributing every movement to SEO.
Crawling: inspect server logs and crawl reports for repeated requests to broken old URLs, redirect loops, server errors, and unexpected parameter paths.
Indexing: look for unintended noindex states, blocked destinations, soft 404s, and canonical selections that conflict with the migration plan.
Search visibility: compare clicks, impressions, and query patterns for important page groups, including both old and new properties where relevant.
Business activity: compare organic landing-page sessions and meaningful actions, while checking that consent settings, events, and attribution still work.
Mapping coverage: add newly discovered legacy URLs to the inventory and assign a relevant redirect or deliberate removal response.
Diagnose the failure before changing the plan
If one section loses visibility, trace several affected URLs from the old request to the final rendered page. A broken redirect requires a routing fix; an accessible page marked noindex requires an indexing fix; a valid destination missing its former content requires a content review. If organic sessions fall but search clicks remain broadly stable, investigate measurement and consent changes before rewriting redirects.
Some fluctuation can occur while search engines recrawl and reassess moved pages. There is no universal recovery timetable: site size, crawl behavior, and the extent of the changes all matter. Keep the mapping stable unless evidence identifies a problem, and log fixes with dates so you can connect later changes to actual interventions.
Your next step: create the master URL inventory and assign an intended outcome to every source URL. Review the most important and ambiguous mappings with the content owner and implementation lead before redirect rules are built. That approved file should become both the launch test input and the post-launch repair log.