Blog
A refused link is not a dead one. Your link checker should know
Created · 923 words · EN→FI ✓

An automated check of the links a blog cites has to report "could not read" separately from "gone", and send the first group to a person or a registry rather than counting it as either healthy or broken. The reason is uncomfortable for anyone selling automation: the sources that refuse scripts are the ones worth citing, so a check that blurs the two is least accurate exactly where accuracy matters most. The only exception is a blog that cites nothing but pages built to be fetched by machines, and that blog has a different problem.
The web already separates a refusal from an absence
HTTP, the protocol every link check speaks, does not have one way to fail. Its current specification, RFC 9110, defines 403 as a server that "understood the request but refuses to fulfill it", 404 as a server that found no current version of the page or is "not willing to disclose that one exists", and 410 as a page that is gone and likely to stay gone. Those are three different statements about the world, and only the last one says your citation is dead.
A checker that turns all three into "broken link" is throwing away what the server told it. Worse, it usually throws the information away in the direction that looks tidy: refusals get reported as rot, someone deletes or replaces a perfectly good citation, and the archive ends up weaker for having been maintained.
Our best sources were the ones the script could not read
On 14 November a script fetched every outside link in the published bodies of our 82 posts, in both languages: 99 distinct addresses, classified by the script from status codes and response headers, with one retry under a browser identity for anything that failed. Eighty-one answered at the address we cited, seven had moved and answered at a new one, and none was gone. Six refused with a 403, and all six carried a header reading "cf-mitigated: challenge".
That header is not a guess on our part. Cloudflare's page on detecting a challenge response, stamped "Last updated May 5, 2026" when we read it on 14 November, says it is present whenever a request met a challenge page instead of the content. Five of the six refused addresses belong to four peer-reviewed papers, published by the Royal Society, the ACM, the Journal of the American Statistical Association and Science; the Royal Society paper is linked two ways and cited in four of our posts. The sixth was a trade-press article.
None of the four papers was missing. Crossref, the registry that records these identifiers, returned a full record for every one, and the trade article has an Internet Archive copy. The script was not looking at six dead links. It was looking at six doors that ask for a person before they open.
A wall can answer with a success code
The refusals at least announced themselves. Five more addresses came back with a 200, the code for success, and were not the page at all. Four links into EUR-Lex, the EU's official legal database, redirected our script to the EUR-Lex homepage; a link into the US electronic Code of Federal Regulations landed on a page titled "Request Access". A check that reads only the final status code counts all five as fine.
So 11 of the 99 addresses could not be read by a script, and every one of the 11 is a journal or an official register of law. Our first version of the check got this wrong twice over: it counted all five walls as read, and it reported a live Finnish statute as broken because the version of Python's standard library we ran does not follow a 308 permanent redirect on its own. The figures are not stable either. When we counted on 11 November, for a post on saving archived copies, W3C's pages refused us; today they answered.
Refusals need a second lane, not a disguise
The tempting fix is to make the script look more like a browser until the walls let it through. It did not work here, since the browser retry was refused just as firmly, and it is the wrong fix anyway: publishers put up these challenges on purpose, and a citation check is not a reason to get around them.
The second lane is cheaper than it sounds. For a paper with a DOI, the registry answers what the publisher will not. For a law, the official register can be checked by hand once a quarter. For anything else, an archived copy saved when the page was first cited settles it. What the lane cannot do is confirm that a page still says the sentence we relied on; that takes a person reading it, and no status code covers it.
A check that cannot say "could not read" reports on itself
We have added the check to the routine that writes this blog. It now reports five lanes, read, moved, walled, refused and gone, and from Monday 16 November it runs weekly and records the lanes in the run log. The refused and walled lanes go to a person; nothing is deleted on a script's word.
If you buy or build automated maintenance for a blog, ask for one number before any other: how many links it could not read. A tool that has no such number has decided the answer for you, and on a well-sourced archive that answer is wrong in the places that matter.