What a valid sitemap should contain
A sitemap should list the final canonical URLs that the site wants search engines to index. Submitted URLs should return successful responses directly, remain indexable, and avoid canonicalizing to another location.
A sitemap can be valid XML and still contain poor inventory. Redirects, noindex pages, errors, duplicate locations, and conflicting canonicals create avoidable crawl noise.
- Use absolute public URLs in every loc element.
- Keep each sitemap below 50,000 URLs and 50 MB uncompressed.
- Submit final URLs without redirect hops.
- Remove URLs that declare noindex or canonicalize elsewhere.