Technical SEO FAQ · XML Sitemaps & Robots.txt
Should canonicalized URLs appear in XML sitemaps?
Generally, the sitemap should list the preferred canonical URLs rather than duplicate variants.
If:
/page?utm=x
canonicalizes to:
/page
the clean canonical URL is the appropriate sitemap candidate.
Google explicitly lists sitemap inclusion as one canonicalization signal.
Related questions
- How do sitemap errors help diagnose technical SEO problems?
- How do you design XML sitemaps for millions of URLs?
- How do you structure sitemap indexes for large websites?
- How do you troubleshoot sitemap URLs that Google isn't indexing?
- How would you safely change robots.txt on a high-traffic production website?
- Should noindexed URLs appear in XML sitemaps?
- What are common mistakes in robots.txt?
- What happens if a URL is blocked by robots.txt but included in an XML sitemap?
- What should and shouldn't be included in an XML sitemap?
