squirrelscan
GitHub

Sitemap Domain

Checks that all sitemap URLs belong to the expected domain

Checks that all sitemap URLs belong to the expected domain

Rule ID crawl/sitemap-domain
Category Crawlability
Scope Site-wide
Severity error
Weight 8/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

[rules]
disable = ["crawl/sitemap-domain"]

Disable all Crawlability rules

[rules]
disable = ["crawl/*"]

Enable only this rule

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

Type to search…

↑↓ navigate↵ openesc close