Fixing link health: LINK_HEALTH and SOFT_404
Links in llms.txt are dead, or return 200 without real content: how to read and fix the link health check and soft 404s.
About 2 min readError codes covered: LINK_HEALTHSOFT_404
The value of llms.txt depends on whether the links in it work. The checking tool observes a sample of the links in the file; the conclusion is in the “Practical usability” part of the report.
LINK_HEALTH: how to read the link observations
Link health is not a single PASS/FAIL: every link has its own observation (observations), with statuses of usable / redirected / broken / restricted. When the overall LINK_HEALTH is summarized, two principles of restraint apply:
- Not sampled is not broken: links that were not sampled this round are never marked as broken.
- A timeout is not a deletion: a single network timeout does not mean the link is dead. It is recorded as one observation in the history and does not change the conclusion.
To fix: open the links in observations that are not usable one by one and check them. Delete or replace the broken ones; for redirects, we suggest writing the final address directly (one hop fewer, and it avoids the redirect target changing later).
SOFT_404: the file returns 200 but is not real content
SOFT_404 is about the main file itself: HTTP 200, but content sniffing suggests an error page, an empty shell or unrelated content (the per-link check classifies only by status code and network errors and makes no judgment about content). The checker gives a WARN (it does not convict: automatic detection of soft 404s can produce false positives), and the evidence states the reason for the judgment. What to do: open the llms.txt address and confirm by hand. If it really is an error page, fix the deployment; if it is a false positive, the warning can be ignored and does not affect proposal compliance.
The historical view
Repeated observations of every link are kept on record. Do not rush to delete a link after a single failure: look at the trend over several consecutive observations before acting.
Test environment and results
Environment: Node v24.18.0, the llmstxtdb check engine plus a local test server, tested on 2026-10-05. A link in the file pointing to a domain that does not exist produced a DNS_ERROR observation and turned the overall LINK_HEALTH into FAIL (the observation goes into the report truthfully and is not hidden because the main file is fine). After the bad link was fixed, LINK_HEALTH tested as PASS again.
After fixing, verify all the links separately with the link check tool.