Skip to main content
Checks that all sitemap URLs belong to the expected domain
Rule IDcrawl/sitemap-domain
CategoryCrawlability
ScopeSite-wide
Severityerror
Weight8/10

Solution

All URLs in your sitemap should point to pages on your own domain. Cross-domain URLs in sitemaps are a configuration error - search engines will ignore URLs that don’t match the sitemap’s domain. Remove external URLs from your sitemap or fix the domain in URLs if they’re incorrectly formatted.

Enable / Disable

Disable this rule

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

Disable all Crawlability rules

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

Enable only this rule

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