Skip to main content
Validates sitemap structure and URL limits
Rule IDcrawl/sitemap-valid
CategoryCrawlability
ScopeSite-wide
Severitywarning
Weight5/10

Solution

Sitemaps must follow the sitemap protocol: use UTF-8 encoding, proper XML structure, and valid URLs. Each sitemap file can contain max 50,000 URLs and be max 50MB uncompressed. For larger sites, use a sitemap index file. All URLs should return 200 status codes. Use lastmod dates to indicate content freshness. Compress with gzip for faster loading.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["crawl/sitemap-valid"]

Disable all Crawlability rules

squirrel.toml
[rules]
disable = ["crawl/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["crawl/sitemap-valid"]
disable = ["*"]