Paj Digital Labs
All articles
Digital Growth & Marketing

SEO Migrations: Redirect Maps That Preserve the Reader’s Destination

A redesign can break search traffic without changing the content. Inventory old URLs, map real replacements and test redirects, canonicals and internal links before the launch.

Paj Digital Labs 4 min read
Analytics charts and planning notebook on a desk
Editorial illustration · Digital Growth & Marketing

A redesigned site launches with attractive pages and a redirect from every old URL to the homepage. Visitors searching for a detailed answer now arrive at a general introduction. Search engines have also lost the relationship between the old page and its replacement.

A migration is a URL and content continuity problem. The design release needs a map that preserves destinations, not simply a rule that removes 404 responses.

Build the old URL inventory

Combine crawl data, sitemaps, analytics landing pages, Search Console exports and server logs where you have appropriate access. Include useful URLs with external links even if they receive little recent traffic.

Normalise carefully. Query parameters may represent tracking, pagination, filters or genuinely distinct content. Do not strip them all before deciding what they mean.

Record each old URL's intended content, status and new destination. A spreadsheet is adequate for a small site if it can be exported into the implementation and tested without manual retyping.

Map equivalent content

  • Same content, new URL — Permanent redirect to the equivalent page
  • Merged into a useful successor — Redirect to that specific successor
  • Removed with no replacement — Deliberate 404 or 410 as appropriate
  • Unchanged URL — Preserve it and avoid needless redirection

Do not redirect unrelated pages to a category or homepage just to eliminate errors. That frustrates readers and can be treated as a soft error by search systems.

If several pages are merged, ensure the new page actually covers their useful material. A redirect cannot preserve an answer that no longer exists.

Choose the response deliberately

Use an appropriate permanent redirect for lasting moves. Understand method-preserving behaviour if you are moving application endpoints rather than ordinary article GET requests. Do not apply an SEO redirect policy indiscriminately to payment callbacks or form submissions.

Avoid chains: old A should point to final C, not A to B to C when B is already obsolete. Keep the destination available and indexable under the intended policy.

Canonical tags are not a substitute for a redirect when the old URL should move. The old address should deliver the intended HTTP behaviour, and the new page should identify the correct canonical.

Test the map automatically

This local Python example checks expected status and Location for a small explicit mapping. Use only approved hosts and avoid exporting private URLs into public logs.

python
import requests

mapping = {class="text-code-string">"https://example.com/old-guide":
           class="text-code-string">"https://example.com/guides/new-guide"}
for old, new in mapping.items():
    response = requests.get(old, allow_redirects=False, timeout=15)
    assert response.status_code in (301, 308), old
    assert response.headers.get(class="text-code-string">"Location") == new, old

Real testing should also follow the redirect, check the final status, detect loops and verify content. Relative Location values are valid HTTP behaviour, so normalise them when your deployment uses them rather than assuming this exact sample fits every server.

Test at the actual CDN or public entry point. An origin configuration can be correct while an edge rule overrides it.

Update the site itself

Internal links should point directly to the new destinations. Update navigation, related articles, sitemaps, structured data and any language alternates. Do not make every visitor pay a redirect because the old menu was easier to leave alone.

Verify robots.txt and noindex behaviour on the new site. Staging protection can survive a launch accidentally. Inspect rendered pages and actual response headers, not merely source templates.

Preserve important titles and content unless the migration intentionally changes them. Moving URLs and rewriting every page simultaneously makes later diagnosis harder.

Establish a launch baseline

Record indexed pages, top landing pages, clicks and known crawl errors before launch. Keep a release date and map version so you can relate changes to the migration.

Monitor old URL requests, unexpected 404s, redirect chains and new-page indexing after launch. Search reporting has delays, so combine it with live technical checks rather than interpreting every early chart movement as a permanent loss.

For a domain move, use the search platform's current supported change-of-address process where applicable. Maintain access to the old domain and redirect infrastructure for a reviewed duration; abandoning it immediately can break both visitors and historical links.

Keep rollback possible

Preserve the previous routing and content release where practical. A rollback should not introduce conflicting redirects or send the new URLs into a loop. Document which layer controls each rule.

Resolve high-impact mapping mistakes promptly, but avoid repeatedly changing destinations without evidence. Search systems and visitors benefit from stable relationships.

A successful migration lets the reader reach the same useful answer through a changed address. If that path is deliberate, tested and monitored, search continuity becomes an operational outcome rather than a hopeful side effect of the redesign.

Paj Digital Labs

The engineering journal of Paj Digital Solutions — hosting, server infrastructure and web engineering, written by the people who run the servers.

Related reading