Blog

A redirect map is part of the redesign, not cleanup after it

Created · 922 words · EN→FI ✓

When a redesign changes addresses, the list of where every old address now goes is a deliverable, written and signed off before launch, not a cleanup task for the week after. Without it, nobody decided what happens to the links other sites, old emails and search results still hold; the new code decided, by accident. A vendor whose work changes URLs should hand over that list with the change, and we include ourselves in that.

Google puts the map before the move

Google's page on site moves with URL changes, stamped "Last updated 2026-08-20 UTC" when we read it on 2 December, lists the order plainly: prepare and test the new site, then "Prepare a URL mapping from the current URLs to their corresponding new format", and only then configure the server to redirect. The map comes first because everything after it uses it: the same page has you update canonical tags, hreflang annotations (the tags that tell Google which language version of a page to show) and internal links from it.

Two of its warnings only make sense if someone has decided each destination. It says not to send many old URLs "to one irrelevant single URL destination, such as the home page", which Google may treat as a missing page. And it says to avoid chains, redirecting straight to the final address. You cannot check either without a list of old addresses and where each one should land.

A rule is a map only if someone read what it does

We should concede the strongest objection at once. Nobody writes a spreadsheet row for every page of a large site, and Google does not ask for one: the same page says you might store the mapping in a database or "configure some URL rewriting rules" for common patterns. A rule that turns every /blog/ address into /posts/ is a perfectly good map.

But a rule is a map only after a person has run it against the list of old addresses and looked at where each one lands. A pattern that is right for nine sections and wrong for the tenth produces redirects that work, return a clean status code, and send the reader somewhere they did not want to go. The status code is fine. The decision was never made.

That is why the sign-off matters more than the format. Whoever owns the site should see, before launch, the old addresses that carry real traffic or real links, each with its new destination, and say yes. After launch the same list becomes the checklist for internal links, sitemaps and the outreach Google recommends, and it tells you which redirects you are committing to keep. Google's own advice is to keep them "generally at least 1 year".

Our own locale flip shipped without one

On 28 August, the day before this blog's first post, we changed which language owns the unprefixed addresses. The site had been scaffolded the day before with Finnish as the default; the change made English the default and moved Finnish under /fi, with localized path names such as /fi/blogi. The commit gives examples of the new shape. It contains no list of the old addresses and where each now goes.

The code still made the decisions, so we read them on 2 December. Old English addresses under /en redirect to their unprefixed versions, which is right. Old Finnish addresses did not fare as well: /tietosuoja, which on 27 August was the Finnish privacy page, now redirects permanently to the English /privacy, and the bare root that was the Finnish home page now serves English with no redirect at all. The Finnish page still exists at /fi/tietosuoja. Nobody chose to send a Finnish reader to the English version; a general rule did it because no one wrote the Finnish case down.

The damage here is close to nothing. Those Finnish addresses existed for about a day, before any post was published, and we cannot show that anyone outside the company linked to them. We are telling it anyway because the mechanism is the one that hurts a client with ten years of links.

The map needs a place to live after launch

Since that flip, a git search for renamed page routes found none, and our publishing endpoint deliberately ignores a slug in update mode, so the engine cannot move a post's address when it revises one. A person editing a slug in the admin panel still can. The site has a redirects collection for exactly that case, from the template's redirect plugin, and on 2 December it held no rows. Nothing writes to it when a slug changes; it relies on someone remembering. We have not scheduled a fix, so we are putting the gap on the page instead.

Ask for the list before you approve the launch

If you are buying a redesign, or letting any vendor touch your addresses, ask for the redirect map as a named deliverable with a date before go-live, and read the rows that carry your traffic. If the vendor says a rule covers it, ask to see where the rule sends your ten most-linked pages. That costs an afternoon, at the only point where the decision is still cheap; after launch, the code makes it and a lost reader tells you. A permanent redirect only says where an address went, not whether the destination was the right one; the map is where that judgment gets made, and it should be marked on the day it ships.