site.sitemap-invalid-url
Sitemap <loc> values that are not full http(s) URLs, or are 2,048 characters or longer. Search engines crawl sitemap URLs exactly as listed and drop these, so the pages they name are not submitted.
What to change
Write every <loc> as a full URL with protocol and host (https://www.example.com/about/, not /about/), under 2,048 characters, generated from the production site URL.
The documentation on developers.google.comA finding of this rule on a page carries the exact edits for that page: the markup it quotes, and what to write instead.
When it runs
Runs on a crawl or a build directory. A warning is a problem that costs a page ranking, clicks or citations. Each finding takes 5 points off the page's score.
The severity here is the rule's usual one: a finding can be raised or lowered when the page gives a reason.
Run it, or skip it
Check a page for this rule alone, after a fix for instance:
npx @rivi-software/agentic-seo-check crawl https://example.com --rule site.sitemap-invalid-url
Or from an assistant, with the MCP tool seo_crawl_site:
{
"url": "https://example.com",
"rules": [
"site.sitemap-invalid-url"
]
}
To leave it out of an audit, pass --disable site.sitemap-invalid-url on the command, or disableRules: ["site.sitemap-invalid-url"] to a tool.
More in Site-wide checks
All 49 rules- Warning
site.sitemap-missingNo XML sitemap was found (robots.txt Sitemap: line or /sitemap.xml). - Error
site.sitemap-errorA sitemap could not be fetched or parsed. - Error
site.sitemap-too-largeA sitemap holds more than 50,000 URLs or more than 50 MB uncompressed, which search engines do not read (error); or it is larger than this audit reads (15 MB; 5 MB on the hosted server), so it was not checked (info). - Warning
site.sitemap-index-nestedA sitemap index lists another sitemap index; Google reads only sitemaps from an index, not further indexes. - Warning
site.sitemap-lastmod-invalidSitemap <lastmod> values are not in W3C Datetime format, so search engines ignore them. - Info
site.sitemap-lastmod-futureSitemap <lastmod> values lie in the future. Google uses lastmod only when it is consistently accurate. - Info
site.sitemap-lastmod-missingA sitemap lists URLs but gives none of them a <lastmod>, so search engines cannot tell which pages changed. Bing calls lastmod a key signal for what to crawl again; Google uses it when it is consistently accurate. - Info
site.sitemap-lastmod-uniformEvery URL of a sitemap of 10 or more has the same <lastmod> date and time, which is the time the sitemap was built rather than when each page changed. Bing asks sites not to set lastmod to the sitemap's build time, and Google ignores lastmod values that are not accurate.