Published 26 November 2026 · 5 min read

Migrating a store without losing rankings: the redirect map

Migrating a store is the only kind of website work where a mistake shows up three weeks later and takes three months to undo. Rankings are lost fast and regained slowly, and because you are selling in the meantime, it is the most expensive kind of delay a website has.

    In short
  • The redirect map is built before the domain switches, not after. Once it has switched, there is nowhere left to get the list of old URLs you would need.
  • Never send everything to the homepage. A redirect to an irrelevant page behaves much like a 404, except nobody knows about it.
  • What gets forgotten is the things that are not products: pagination, filters, images, old URL variants, and the product IDs in the feed that comparison sites are tied to.

Why rankings go fast and come back slowly

When a URL stops answering, a search engine finds out on its next pass — for a store, usually within days. When a URL starts answering again, the engine has to find it, crawl it, index it and re-evaluate it. That is an order of magnitude slower, and it happens at the moment when revenue is already down and you want a fix today.

The whole discipline of migration follows from that asymmetry: almost all the work is done beforehand, because after the switch all you can do is repair.

The redirect map is built in advance

A redirect map is a table with two columns: old URL, new URL. One row for every URL that existed on the old store and had either traffic or a link.

What matters is where that list comes from, because no single source is complete. Use all of them:

  • The old sitemap — a good base, but it only holds what the platform thought worth listing.
  • Search Console, the pages report for the last twelve months — these are the URLs that actually brought something in, including ones you did not know about.
  • Analytics, landing pages for a year — adds URLs with traffic from somewhere other than search.
  • Your own crawl — finds URLs reachable by clicking even when nothing lists them.
  • Server logs — the most complete source, and the only one that also shows the URLs comparison-site robots visit.
  • External links — a URL someone links to has value even without traffic.

Then every URL gets a target. The rule is simple: one to one where possible, to the nearest parent page where not. A product that will not exist goes to its category. A removed category goes to its parent. An article goes to an article.

What not to do: send the remainder to the homepage. A redirect to a page that does not match the original content is treated as roughly equivalent to an error, except that nobody sees it in an error report. Better an honest 404 on a URL nobody needs than a thousand false redirects to the homepage.

What gets forgotten

Everyone looks after products and categories. The drops come from the rest:

  • URL variants. http against https, with www and without, with a trailing slash and without. The goal is one canonical form, with the others redirected to it in a single hop rather than a chain of two or three.
  • Pagination and filters. Old URLs with page and filter parameters tend to have traffic, and a new platform usually builds them differently.
  • Images and files. Image URLs change in almost every migration, and they sit in image search and in other people articles.
  • Product IDs in the feed. This is the quiet bomb. Comparison sites and Merchant Center have history attached to your IDs. Renumber them during the migration and it looks like a new set of offers — and on some channels the review starts again.
  • Old blog and campaign URLs that are no longer in the navigation but are still indexed and still linked.

Switch day, in order

  1. The new store sits on a temporary address and is completely closed to search engines. Verified, not assumed.
  2. The redirect map is deployed and tested against the URL list: every row returns one hop and a final status of 200.
  3. Tracking is in place before the first visitor arrives: GA4, Consent Mode v2, e-commerce events.
  4. The domain switches. The block on search engines is lifted — this step gets forgotten, and it is the most expensive forgotten step in the whole migration.
  5. The new sitemap is submitted in Search Console. It is worth leaving the old one reachable for a while, so the engine has somewhere to get the list of URLs it should crawl and find the redirects on.
  6. Feeds are re-checked and re-submitted on every channel.
  7. The one thing that genuinely has to match is verified: an order in analytics against an order in the admin.

The first thirty days

A migration does not end at the switch, it ends when the numbers come back. What to watch, in order:

  • 404s in Search Console and in the server log. Daily for the first week. This is the highest-yield work in the whole migration, because every URL found is one missing row in the map.
  • Indexing. New URLs appearing, old ones dropping. If the old ones are not dropping, the redirects usually do not work the way you think they do.
  • Rankings. A short-term dip is normal. What is not normal is a dip that has not begun to close after three or four weeks.
  • Feeds and approvals on comparison sites and in Merchant Center.
  • Revenue last. It is the most important number and the slowest, so nothing in the first week can be steered by it.

We treat the redirect map as part of the build rather than an extra line item — it is on the online stores page among the things we hand over. The reason is the three-year sum from the article on what an online store costs: a migration done badly is the most expensive item nobody put in the budget.

Contact

Have a project? Write to us.

A few sentences about what you are dealing with is enough. We reply within one working day with questions and a proposed approach.

What do you need? (pick any)

We reply within one working day. No automated sales sequence.

Migrating a store without losing rankings | Developer Online