WriteMySEO / Blog / Site Migrations: The Redirect Map Is the Whole Job
SEO technology

Site Migrations: The Redirect Map Is the Whole Job

Most traffic lost in a migration is lost in the URL mapping, not the redesign. The mapping is tedious, unglamorous, and the only part that reliably determines the outcome.

Site migrations produce the largest single-event traffic losses in SEO, and the cause is almost always the same: an incomplete or wrong redirect map, discovered after launch.

The work that prevents it is unglamorous and entirely front-loaded.

Build the URL inventory first

Before anything else, assemble every URL that currently exists and matters. One source is never enough, because each misses a different category:

Deduplicate the union. That list, not the crawl alone, is the migration's scope.

Prioritize by what would hurt to lose

Not every URL deserves equal attention. Rank the inventory by organic clicks over the last twelve months, then by external referring domains. The top few hundred URLs typically account for the large majority of the value — those get individually verified mappings. The tail can be handled by pattern rules.

This prioritization matters because it makes the job finite. "Map 40,000 URLs perfectly" is not achievable in a launch window. "Individually verify the 300 URLs that carry 80% of the value, then pattern-map the rest" is.

Map to the closest equivalent

Each old URL needs a destination that serves the same intent. The rules:

Test the map before launch

The map is a data file, so it can be tested like one. On a staging environment with the new site and redirect rules live:

while read old; do
  code=$(curl -s -o /dev/null -w '%{http_code}' -L "$old")
  final=$(curl -s -o /dev/null -w '%{url_effective}' -L "$old")
  hops=$(curl -s -o /dev/null -w '%{num_redirects}' -L "$old")
  echo "$old,$code,$final,$hops"
done < old-urls.txt > redirect-test.csv

Then check the output for: anything not ending in 200, anything with more than one redirect hop, anything landing on the homepage that should not, and anything whose destination does not match the map.

Running this before launch converts the migration's biggest risk into a spreadsheet you can fix in an afternoon. Running it after launch converts it into an incident.

Launch day

The weeks after

Expect a dip. Some fluctuation is normal while Google re-crawls, re-indexes, and re-associates signals. What is not normal is a dip that does not begin recovering within a few weeks.

Watch specifically: 404s in Search Console's Page Indexing report and in server logs, the indexed page count trending toward the old total, and clicks for your top pre-migration queries.

If recovery stalls, the diagnosis is almost always in the redirect map — a pattern rule that matched too broadly, a section nobody inventoried, a chain that broke. Which is why the inventory step at the beginning determines the outcome at the end: you cannot redirect URLs you never knew you had, and after launch is a bad time to find them.

migrationsredirectstechnical SEO

WriteMySEO produces marketing content, not legal, medical, financial, or compliance advice. Figures cited reflect publicly reported industry data at time of writing and shift over time.

Get started

We write this well about your industry, every month.

AI-drafted, human-reviewed SEO content on a flat subscription. Blog posts, metadata, schema, and internal links, shipped on a monthly rhythm.

See plans

More from the blog