There’s no denying that online content disappears. Depending on the type and thoroughness of the study, reports claim that 38% to 66.5% of webpages that existed a decade ago are dead. Sometimes we’re treated with a 3xx redirect code but more often than not they’re simply gone forever if it wasn’t for the Internet Archive.
That got me wondering how bad link rot actually is on this site as lately I’ve been looking for specific things in my own archive and failed to successfully click through some references that would have come in handy.
In order to investigate that, I used the following methodology:
- For reach Markdown file in
/post/(453 files); - For each external
http(s?)://link in those files (3179 links)1; - Issue a HTTP GET request and fetch only headers or the first 10K (2854 responses).
- Keep track of response codes bigger than 330 (285 responses).
Data is clustered by domain as to not bombard the same domains and hit some kind of rate-limiter. Initially, no deduplication step was done. Out of the 2854 links that connected, 285 of them turned out to be dead: that’s exactly 10%. Of course, even though Brain Baking exists since 2013, the bulk of the processed blog posts are from 2020 and beyond: that’s at best half a decade old. I take it that 10% is still above average in terms of link rot.
Here is the breakdown of specific HTTP response codes and amount of times it occurred, as also visible in the leftmost following chart:
403 136, 404 96, 406 24, 500 12, 410 5, 416 1, 447 1, 418 2, 405 1, 401 1, 460 1, 429 1, 400 2, 503 1
Edit 23/12: I originally wrote:
Why 403 Forbidden comes in first after 404 Not Found is beyond me.
Well, I do now: I forgot to think about appropriate HTTP headers, such as the user-agent. When I re-do the test acting as a proper agent, the 136 403s drop to 50, 1 512, and 6 404s appear instead. This also means my initial 10% is incorrect: it’s just over 7%!
A second question arises: are most of the failures coming from the same domain name? In other words, is just one domain completely gone and accounting for most of the bad links? The above rightmost chart summarizes the amount of failures in relation to the domain name where the amount of failures is bigger than one: the bulk of the cases seem to be one-offs, which is also visible in the long tail-end of the graph that would be even longer if I included all the ones.
Here is the raw data breakdown in case the legend is hard to read:
O caddyserver.com 2
C www.backblaze.com 2
C www.imdb.com 2
C theconversation.com 2
P www.davidlebovitz.com 2
C www.cloudflare.com 2
C www.se-radio.net 2
P www.edwardtufte.com 2
O www.mmorpg.com 2
C www.getdroidtips.com 2
P www.brainpickings.org 2
C ictprofessionalism.eu 2
O csis.pace.edu 2
P hacdias.com 2
P jamesg.blog 2
C www.nibs.com 2
P tracydurnell.com 2
P alexvermeer.com 2
O ieeexplore.ieee.org 2
P www.datagubbe.se 3
O www.sciencedirect.com 3
P blog.kingcons.io 3
P brainbaking.com 3
O www.gu.se 3
C www.uber.com 3
C medium.com 3
O www.researchgate.net 4
O pinside.com 4
O people.cs.kuleuven.be 5
P fabiensanglard.net 5
C www.amazon.com 6
P austinkleon.com 6
P git.brainbaking.com 6
O en.wikipedia.org 7
P www.zylstra.org 9
C www.goodreads.com 9
P jefklakscodex.com 10
Wait, what? The largest amount of failures comes from my other own domain, jefklakscodex.com? That’s… very painful to say the least! At least I’m glad I did this experiment. I have been moving and restructuring things and as you can see not properly adhering to the concept of permalinks, neither providing an alias resulting in a 3xx code: there are all classic 404s. There are even three brainbaking.com instances in there! Luckily, after quick fixing those, the 10% will go down by a large margin.
Another big one, people.cs.kuleuven.be, is my personal KU Leuven directory, and since I no longer work there, it seems to be inaccessible. Harsh. Guess what: in my mind, those were long-term permalinks I also used in my published papers that now also are rotting there. I think link rot in academic papers is much more prevalent: nobody cares after their work is published…
A third question arises: are most of these dead links Brain Baking links to coming from personal blogs or from corporate sites, search engines, Wiki pages, or other stuff? I annotated the above with P (Personal; 15 matches), C (Corporate: the Big Ones; 12 matches), or O (Other: docs, software, wiki, …; 11 matches). That quick count immediately shows a painful truth: most of the rotten links are pointing to dead ends of personal websites. On the other hand, perhaps that’s unsurprising since I try to link more to personal blogs than to other resources.2
What ways do we have to mitigate this rising issue?
- As a website builder, try to adhere to permalinks and think long-term instead of short. Leverage alias features of your CRM/static site generator tools.
- As a linker, try to determine based on the material you’re linking to whether it’ll likely still be there after 10 years. If it’s obvious it won’t, reconsider your link.
- As a linker, don’t link to external resources such as images: copy them over locally and host them yourself (if the license allows for it).
- As a linker, opt to preserve things on your end by for instance scraping content and link to a self-hosted
.txtfile that contains the content you’re linking to. I’ve seen one person do this but can’t remember where. - Perhaps if your link rot percentage stays under
20%, don’t do anything silly?
I guess I’ll have to send out emails after this article is published to the folks in the above list, after I first fix my own mess!
-
This excludes YouTube links where videos also tend to disappear rather quickly: the other day I’ve had broken links due to disabled accounts or inaccessible videos that were suddenly 18+ such as the Diablo II Ressurected trailer. ↩︎
-
See my 23/12 edit, the domain info is no longer correct: most aggressive hosts simply block any GET without a user-agent. For example, the domains
goodreads.com,zylstra.org, andaustinkleon.comnow all return 200 or 206-es. ↩︎

