The redirect plan: old addresses to new ones
RelaunchWhy every old address needs a target in a relaunch, which redirect is the right one, what chains and mass redirects do, and how to check the plan after the switch.
8 min read
By Timo Wessels Published
When a website is rebuilt, the addresses almost always change. /services.html becomes /services/, /2019/03/new-location/ becomes /news/new-location/, and some pages drop out altogether.
A redirect plan gives every old address whose content lives on its new target. That is a permanent redirect that stays in place for at least a year. What disappears without replacement answers honestly with “not found”. Without this plan a relaunch starts from zero, and the damage only becomes visible weeks later.
The most important points first:
- With a rebuild the addresses almost always change.
- Every old address whose content lives on gets its new target, as a permanent redirect, for at least a year.
- What disappears without replacement answers honestly with “not found”. Do not redirect everything to the home page.
What is lost if nobody redirects
An old address without a redirect leads to an error page. Affected are:
- Search engines. The page was included and had a position. Without a redirect neither passes to the new address.
- Incoming links. Every foreign link to the old address points into nothing. That is the most expensive loss, because hardly anyone gets it back. Who changes a link they set years ago?
- Bookmarks of regular customers.
- Printed material: business cards, flyers, vehicle lettering, ads.
- Entries in directories, at the chamber, in partner lists and in email signatures.
Permanent or temporary
There are two kinds of redirects, and the difference matters. Google describes it like this: with a permanent redirect the search shows the target, with a temporary one the source page.
- Permanent (301 or 308). Google treats it as a signal that the target is the authoritative address. That is the case a relaunch needs. Use it when you are sure it will not be reverted.
- Temporary (302 or 307). Google follows it but does not treat it as a signal for the new address. The old one can stay in the search result. In a relaunch that is wrong.
The numbers are status codes that the server sends with the answer. Google also advises redirects on the server. According to Google they are read most reliably.
The plan
A redirect plan is a table with two columns: old address, new address. Google advises preparing exactly this mapping for a move. I create a row for every old address.
The basis is a complete list of the old addresses, drawn before anything is changed. Without it you redirect the addresses you remember, and those are never all of them. How you assemble the list is in an article of its own.
The mapping follows one rule: redirect to where the same content now stands. If it no longer exists, there is no target.
| Old page | New target |
|---|---|
| Service page that still exists | the matching new service page |
| Three thin pages, now merged | the new merged page |
| Post that does not move along | no target, the address answers with 404 or 410 |
| Page of a discontinued offer | the successor offer if there is one, otherwise 404 or 410 |
Not everything to the home page. Google writes: do not redirect many old addresses to one irrelevant single destination such as the new site’s home page. That can confuse users and may be treated as a “soft 404”. That is an error page that does not call itself that. Google itself names an exception: if you consolidated the content of several old pages into one new page, you redirect all of them to that one new page.
For content that does not move along, Google writes: it should return an error with the status code 404 or 410 on the new website.
With very many pages you cannot do the mapping by hand for every address. Then work with patterns, for example all addresses under /blog/ to the matching new structure. Assign individually only the most important ones: the most visited and those linked from outside. That is my practice.
Chains and loops
Two problems arise when redirects grow over several rebuilds.
Chains: A redirects to B, B redirects to C. That is typical when at the second relaunch the redirects of the first stay and new ones are laid on top. Google writes: Googlebot follows up to ten hops, but better redirect straight to the final destination. If that is not possible, keep the chain short, ideally at most three and under five hops. Every hop costs load time. The solution: A points straight to C. You do not delete the old redirects but rewrite them to the current final destination.
Loops: A redirects to B, B back to A. The result is an error message in the browser, and the page is unreachable for everyone. That happens when two rules from different sources work against each other, such as a server rule and a plugin.
One address, not four
Your home page is technically reachable under several variants: with and without www., encrypted and unencrypted. Then there is the slash at the end. Google describes it like this: choose one of these addresses as the preferred (canonical) one and redirect the others there. All variants lead by permanent redirect to a single address. Otherwise Google has several addresses for the same content and must decide itself which applies.
How long the redirects stay
Google recommends: as long as possible, generally at least one year. In that time Google can transfer all signals to the new addresses, including crawling the pages again and reassigning the links of other websites. Whoever tidies up the redirects after three months because they are “no longer needed” breaks off this process.
Links from outside stay for ever anyway, because a newspaper article from five years ago is not updated. The effort of leaving redirects in place is zero. The damage of removing them is lasting.
The error page belongs to the plan
Despite the best plan someone lands on an address that does not exist: a typo, an old link, an address nobody thought of. A good error page is part of the safeguard:
- in the design of the website and not as a bare server message,
- with an understandable explanation of what happened,
- with links to the most important areas and the way to make contact.
It must send the right status code: 404, “not found”. An error page that returns 200 (“all fine”) is shown by Search Console as a soft 404. The page pretends it exists.
The practical use in a relaunch: the requests to the error page in the first weeks are the best source for forgotten redirects. Whoever watches them finds exactly the addresses that were missing in the plan.
How to check the plan
- Before switching: take the most important old addresses from the analytics and check whether the plan has a sensible target for each.
- Right after switching: open a sample of these addresses. Do you land on the right page? In the “Network” tab of the developer tools (F12) stands the status code: 301 or 308 is right, 302 is wrong, two redirects in a row are a chain.
- Regularly in the first weeks: the page indexing report in Search Console. Every old address showing up there as “not found” is a candidate for a redirect added later.
- The internal linking: no link on your own website may point to an old address. Google advises switching internal links from the old to the new addresses in a move. Redirects are there for visitors from outside and not for your own website.
What you can do
- Draw the list of all old addresses before anything is changed.
- Build the mapping table. Every old address gets a target or deliberately a 404 or 410.
- Order by importance: the most visited and linked individually, the rest through patterns.
- Set everything up as a permanent redirect on the server.
- Pull chains together if there are redirects from earlier rebuilds.
- Bring the address variants down to one.
- Build a proper error page with the status code 404.
- Test by sampling after switching, then watch Search Console and add what is missing.
- Switch internal links to the new addresses.
- Leave everything in place: at least a year, better permanently.
The redirect plan is the least spectacular work in the whole project and the one with the greatest risk if it is missing. A new website with a clean plan carries on building on what the old one built up. The same website without a plan starts again from the beginning.
Sources
- Google Search Central, Site move with URL changes — prepare a mapping from old to new addresses, 404 or 410 for content that does not move, do not redirect many addresses to the home page, avoid chains, update internal links, keep redirects at least a year: developers.google.com(external site: developers.google.com)
- Google Search Central, Redirects and Google Search — permanent redirects show the target, temporary ones the source page; server-side redirects are read most reliably: developers.google.com(external site: developers.google.com)
- Google Search Central, HTTP status codes, and network and DNS errors — status codes and soft 404: developers.google.com(external site: developers.google.com)
- Google Search Central, What is canonicalization — one preferred address among several variants, redirect as a strong signal: developers.google.com(external site: developers.google.com)
- Google Search Console Help, Page indexing report — “Not found (404)” and soft 404 in the report: support.google.com(external site: support.google.com)
- Own testing practice — the table of old and new pages, patterns for very many pages, pulling redirects together instead of deleting them, the error page as a source of forgotten redirects, the order of the steps.