- Class
- C2 Recommended
- Weight
- 4
- Severity on fail
- major
- Applies to
Test this rule on a live site with the XML sitemap checker. Free, no account needed.
Scope and evidence
Evaluated on each sitemap file. The book marks this requirement DOCUMENTED RECOMMENDATION.
Fail conditions
Each condition has a stable code and a reason template. The evaluator fills the placeholders from observed values only; no sentence in a report is generated.
loc_not_absolute{n} entries in {sitemap} are not absolute URLs, for example “{example}”. Google asks for fully-qualified, absolute URLs in sitemaps.
The documented fix
Generate loc values from the canonical base URL.
Sources, quoted
These are the passages the rule rests on, stored once in the knowledge base and emitted exactly as written. A citation marked for specific conditions appears only on findings with those codes.
“Use fully-qualified, absolute URLs in your sitemaps.”
[G-SITEMAP-BUILD] Build and submit a sitemap · Sitemap best practices · last updated 2026-07-08
https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap