Skip to content
Documentation
Rule catalogue

sitemap.limits.exceeded

No single sitemap document may exceed 50,000 entries or 50 MB

errorsite-widespec-required

Why it matters

A consumer is entitled to stop reading at 50,000 URLs or 50 MB, so everything past the ceiling is published in name only. Nothing about the failure is visible from outside: the file serves, it parses, and the entries beyond the cut are simply never crawled. The size is measured uncompressed, because the limit is about what a consumer must parse rather than what crossed the wire.

What the finding looks like

The message goflag prints, with example values substituted.

error sitemap.limits.exceeded This sitemap document declares 61,204 URLs against a ceiling of 50,000. A consumer may stop reading at the limit, so everything past it is published in name only — split the document and reference the parts from an index.

How to fix it

The catalogue carries no snippet for a site rule: a cross-page rule builds its remedy from what the crawl found, so goflag attaches the fix to the finding itself rather than to the rule. Run it and read the finding.

Says who?

This rule is spec-required, and it cites the document below. Nothing here is goflag’s opinion of what a good page looks like — if you disagree with a finding, this is what you are disagreeing with.