Canonical agreement
Canonical agreement
In short: Link each page in your llms.txt by exactly the URL its rel=canonical declares, with no tracking parameters.
What it checks
Whether the URLs in your file match the pages’ rel=canonical URLs.
Why it matters
If the file links one URL and the page declares another canonical, agents may treat them as two pages, or cite the non-canonical one.
When it applies
Applies when at least one page linked from your llms.txt loaded (HTTP 200) and declared a canonical. Unverified otherwise (no page loaded, only your homepage was checked, or your pages emit no rel=canonical): removed from your score and its weight shared among the Ecosystem audits we did measure, never counted as a zero.
An audit that doesn't apply, or that we couldn't verify, is removed from your score and its weight shared among the Ecosystem Integration audits that do apply. It is never scored as a zero.
How it's scored
Per linked page we sample: 1 when the URL you link is the page’s canonical (ignoring http against https, www., a trailing slash and a #fragment) · 0.5 when it is the same page in a form we can’t reconcile (a different query string or capitalisation, /page.html against /page) · 0 when the canonical points elsewhere. The score is the mean over the pages that declare a canonical. A page with no canonical is left out, not scored as a mismatch.
How to fix
- Check the canonical URL of each linked page (view source, or the Link header).
- Link exactly that URL in your llms.txt: the same host and path, with no tracking parameters.
- Fix pages whose canonical points somewhere unexpected, such as a redirect target or another domain.
Frequently asked questions
What does the canonical agreement check compare?
<link rel="canonical"> (or a Link: <…>; rel="canonical" header) is the URL your llms.txt links to. We check the pages we already fetch for link relations: up to 3 sampled from your file, plus your homepage when you link it. A page scores 1 when the URLs are equal (ignoring http against https, www., a trailing slash and a fragment), 0.5 when it is the same page in another form, such as a different query string or capitalisation, and 0 when the canonical points elsewhere. A .md link is compared through the page it mirrors.Sources: LLMSRank — Canonical agreement audit · Google Search Central — How to specify a canonical URL
Why does it matter if my llms.txt links a non-canonical URL?
Sources: Google Search Central — How to specify a canonical URL
Does canonical agreement affect my LLMSRank score?
Sources: LLMSRank — How we score (rubric v2.0) · LLMSRank — Canonical agreement audit
How often do llms.txt links match canonical URLs, in LLMSRank’s research?
Sources: LLMSRank — How we score (rubric v2.0) · LLMSRank — Canonical agreement audit