Website migration: should you redirect every URL that receives links?
The rule fits in one sentence: every URL that receives links keeps a redirect. What remains are the exceptions (toxic links, hacked pages) and the choice of the right target, without which the redirect is useless.
When preparing the redirect plan of a migration, the same question always comes up: should you redirect every old URL that receives links, or only the most important ones? The short answer is yes, all of them, with a few exceptions. This article explains why, which exceptions to keep in mind and which page to redirect to.
For what links bring, read why backlinks matter during a migration; to find these URLs, backlink tools compared.
The rule: you redirect URLs, not links
People talk about "redirecting backlinks", but that is a figure of speech: you do not touch the links, which are on other websites. You redirect the URL they point to. A single redirect therefore serves every link pointing to that page, and there is no need to sort the links one by one. One more redirect costs nothing; a linked page that falls into a 404 loses everything it received.
So the right question is not "which links should we keep?" but "which links do we not want to keep?". For most websites, the answer is: none.
The exceptions
- URLs created by a hack: spam pages injected into the website attract spam links. They are not redirected: they must disappear from the index; see deindexing hacked URLs.
- URLs targeted by a link attack (negative SEO): if a page receives nothing but hostile artificial links, letting it return a 404 or a 410 cuts these links off instead of passing them on to a healthy page.
- Content removed with no equivalent: if there really is no close page on the new website, a 410 is better than a redirect to the home page, which Google often treats as a disguised 404 error.
Which page to redirect to
A redirect only passes on the value of the links if the destination page covers the subject of the old one: the same product, the same article, or failing that the category or the closest page. It is the longest part of a redirect plan when the website has thousands of URLs. Swan automates it: it crawls the old website and the staging site, compares the content by semantic similarity and suggests the closest page for each old URL, which you approve or correct.
The URLs people forget
Not all the pages that receive links are on the current website. Think of the pages removed during a previous redesign and never redirected, of old redirects pointing to addresses that the migration will change (to be updated to avoid chains), of addresses with parameters or old extensions (.html, .php), and of the http or non-www variants. A full link analysis is often an opportunity to rediscover forgotten pages that still receive links.
To find them, combine several sources: Search Console, one or two backlink tools (for example Majestic, imported into Swan), and the server logs. In Swan, each list is pasted into the manual import with its source, and joins the redirect plan with the other URLs.
Checking before and after going live
A planned redirect is not a working redirect. Test each old URL on the staging site, then in production on launch day: it must lead in a single hop to a page that returns 200. Swan runs this check on the whole list and flags missing or failing redirects. Our guide to the redirect plan describes the complete approach.
Swan suggests the right target for every URL that receives links and checks your redirects before and after going live.
The SEO migration checklist, as a PDF. 20 pages of checks to tick off, from the decision to migrate to monitoring after go-live.