sitemap
Rules: 5
sitemap/document
A sitemap cannot be read
sitemap/document/unreadable · warning · score 4.4–5.8 · site
Search engines that cannot fetch or parse the sitemap do not learn which pages it lists, so new and deep pages are found later or not at all. Reported when a sitemap file fails to fetch or parse, or lists no URL.
Fix
Serve the sitemap at its listed URL and make sure it parses as XML or plain text with one URL per line.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.sitemaps
When
{
"http.status": {
"minimum": 200,
"maximum": 299
}
}
sitemap/hreflang
Sitemap alternates and hreflang links disagree
sitemap/hreflang/mismatch · warning · score 4.6 · page
When the sitemap and the page list different language versions, search engines get contradictory signals and may ignore both, so visitors can land on the wrong language. Only pages that have both are compared.
Fix
Generate the sitemap alternates and the page’s hreflang links from one list.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
sitemap.alternateshtml.hreflang
When
{
"http.status": {
"minimum": 200,
"maximum": 299
}
}
sitemap/media
The sitemap lists an image or video that does not load
sitemap/media/unreachable · warning · score 4.0–5.2 · site
Search engines cannot index media that the sitemap names but the server fails to deliver, so it never shows up in image or video search. Counted when the file answers 4xx or 5xx, or not at all.
Fix
Remove or repoint each sitemap image and video entry that no longer answers 200.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
sitemap.imagessitemap.videossite.links
When
{
"http.status": {
"minimum": 200,
"maximum": 299
}
}
sitemap/page
A page is in the sitemap, yet no crawled page links to it
sitemap/page/orphaned · warning · score 5.4 · page
Pages only the sitemap reveals are not part of the site’s navigation, so visitors cannot reach them and search engines read them as weakly linked. Only pages found through the sitemap are checked, once the crawl has finished.
Reported as
listed in the sitemap, yet no crawled page links here
Fix
Add a link to this page from somewhere on the site, or remove it from the sitemap.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
crawl.referrers
Expects
{
"type": "array",
"minItems": 1
}
When
{
"http.status": {
"minimum": 200,
"maximum": 299
},
"crawl.discovered-via": "sitemap",
"site.crawl.complete": {
"const": true
}
}
A page is missing from the sitemap
sitemap/page/unlisted · info · score 2.0 · page
Search engines rely on the sitemap to discover pages and learn which exist, so a page left out may be found late or not at all. Only HTML pages not marked noindex are checked.
Reported as
missing from the sitemap
Fix
Add this URL to the sitemap.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
sitemap.listed
Expects
{
"const": true
}
When
{
"http.status": {
"minimum": 200,
"maximum": 299
},
"html": {
"type": "object"
},
"robots.noindex": {
"not": {
"const": true
}
}
}