site.sitemap-lastmod-invalid

WarningSEO auditcrawl

Sitemap <lastmod> values are not in W3C Datetime format, so search engines ignore them.

What to change

Write <lastmod> as a date (2026-11-09) or a date and time with its time zone (2026-11-09T10:00:00+01:00).

The documentation on developers.google.com

A 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-lastmod-invalid

Or from an assistant, with the MCP tool seo_crawl_site:

{
  "url": "https://example.com",
  "rules": [
    "site.sitemap-lastmod-invalid"
  ]
}

To leave it out of an audit, pass --disable site.sitemap-lastmod-invalid on the command, or disableRules: ["site.sitemap-lastmod-invalid"] to a tool.

All 49 rules