The redirect that works and is still wrong
RelaunchThere is one kind of error that is harder to find than all the others: the kind where nothing looks broken.
5 min read
By Timo Wessels Published
There is a kind of mistake that is harder to find than all others: the one where nothing looks broken.
You click a menu item. The right page appears. All good.
Only the browser has set off twice. It first asked for one address, got the answer “it is not here any more, go there”, and then set off again. On the second try it worked.
The result is right. The way there is not.
The most important points first:
- An internal link that only arrives through a redirect works but is wrong.
- That costs time and makes later rebuilds more expensive.
- A redirect catches what you cannot change. What you can change, you change.
How it arises
Almost always in a rebuild, and almost always from the same cause: the addresses have changed, the links in the content have not.
A menu item still points to the old address. A reference in the middle of a text points to a post that now lies elsewhere. A tile on the home page points into a directory that was renamed.
Because the redirects are set up, and that is right, the visitor arrives anyway. That is why nobody notices. It is not a mistake you see. It is one you have to measure.
There is a second form: a redirect pointing to an address that is itself redirected. Two hops, sometimes three. It arises when a site is rebuilt a second time and nobody collected the old redirects before the new ones were added. In a webinar by Sitebulb, a provider of SEO tools, a practitioner also advises collecting all existing redirects first, because otherwise chains appear.
Why it matters if it works anyway
Four reasons, from smallest to largest.
It costs time. According to Lighthouse, Google’s testing tool for websites, every redirect is an additional trip across the network. It can delay loading by hundreds of milliseconds. At the desk you hardly notice. On a phone in a poor network you do, on every single click that goes through an old link.
Chains are worse. Google follows up to ten hops in a chain but advises pointing straight at the final destination. If that is not possible, the chain should stay short.
It makes later rebuilds more expensive. Next time somebody faces a list of redirects and can no longer tell which are needed for real old addresses from outside and which merely catch your own sloppiness. So all stay in place, and the chain grows longer. That is my observation.
It is a sign. If your own site points to addresses that no longer exist, the rebuild was not finished. And what was not checked here probably was not checked elsewhere either.
The difference from a real redirect
A redirect is not bad in itself. It is the right tool for a certain purpose.
For addresses you do not control it is indispensable. A link from a search engine, a bookmark, a reference from another site, an address in an old invoice: you cannot get at any of that. For these cases the redirect is exactly right and stays permanently.
For addresses on your own site it is a makeshift. You can change these links. They should point directly.
The rule in one sentence: a redirect catches what you cannot change. What you can change, you change.
How to find it
By hand it does not work. The mistake is invisible: you click and arrive.
You need a tool that crawls the whole website and writes down, for every address found, what the server answers. Then you sort by the answer.
What you want to see: the same answer everywhere, all fine.
If the problem exists, you find a handful of rows saying “permanently redirected”. A good tool also tells you on which pages the link pointing there stands.
That is the useful part. You get not only the wrong address but where it was found. Fixing it is then dull work: open the page, correct the link, move on.
Where the links hide
The obvious spots are quickly done. The inconspicuous ones are left over (my experience):
- The menu. Mostly right already, because it is touched in a rebuild anyway.
- Links in the middle of texts. The most common find, because nobody looks through old posts.
- Tiles, buttons and references in blocks. They often lie not in the text but in settings and are missed when reading through.
- The footer. It is on every page and therefore is never checked on its own.
- Images and files. An image path can be redirected too. That is noticed even more rarely, because the image appears.
- Redirects that point to redirects. Not in the content but in your redirect list itself. You find them only if you check this list against itself once.
When you do this
Twice:
- Before switching, on the building site. Then most cases are gone before they affect anyone.
- After switching, on the finished site. In a move new ones arise: addresses that were called something else on the building site, references the transfer did not adjust.
After that once a year. Not because of the rebuild but because in running operation pages are renamed and moved, and each time a link is left standing somewhere.
The unspectacular core
This mistake is interesting because it is the opposite of what you expect. It does not hurt, it does not show, and nobody complains.
It still says something: a website whose links point to its own old addresses was rebuilt and not re-measured.
The measurement takes half an hour. Fixing takes, depending on size, half a day. After that one thing is done that otherwise becomes a little more expensive with every further rebuild.
Sources
- Chrome for Developers, Avoid multiple page redirects — every redirect is an additional trip across the network and can delay loading by hundreds of milliseconds: developer.chrome.com(external site: developer.chrome.com)
- Google Search Central, Site move with URL changes — avoid redirect chains, Googlebot follows up to ten hops, point straight at the final destination: developers.google.com(external site: developers.google.com)
- Sitebulb, Webinar: Website Migrations & Redirect Mapping Dos & Don’ts — collect existing redirects first, otherwise chains arise: sitebulb.com(external site: sitebulb.com)
- Own testing practice — the difference between redirects for foreign addresses and for your own site, where old links are found, the rhythm of twice at the rebuild and once a year, the observation on unmanageable redirect lists.