XML Sitemap

No Comments
Xml sitemap

An XML sitemap is a file that lists the URLs you want search engines to know about, helping them discover and crawl your important pages.

It is written in a structured XML format and can include optional details for each URL, such as when it was last modified. Search engines use it as a discovery aid: a direct list of pages that supplements the links they find by crawling. This matters most for large sites, new sites with few external links, pages buried deep in the architecture, and content like videos or images that is otherwise hard to find.

<url>
  <loc>https://example.com/page/</loc>
  <lastmod>2026-05-01</lastmod>
</url>

A sitemap is a suggestion, not a command. Listing a URL does not guarantee it will be indexed, and leaving one out does not prevent indexing. Because of this, the sitemap should contain only canonical, indexable URLs that return a 200 status. Including redirects, noindexed pages, canonicalized duplicates, or 404s sends mixed signals and can be flagged in Search Console's Sitemaps report. A clean sitemap that matches your real, indexable inventory is far more useful than a bloated one.

Submit the sitemap in Google Search Console and reference it in robots.txt with a Sitemap: line. Large sites can split URLs across multiple sitemaps grouped under a sitemap index file, since a single sitemap is capped at 50,000 URLs or 50 MB uncompressed.

Related: Indexation check, Robots.txt complete reference, URL Inspection Tool

Claude Vincent is a technical SEO consultant focused on crawlability, rendering, and AI-search visibility. He writes the field guides and case studies at SEO ProCheck, with a bias toward the durable, unglamorous work that decides whether search engines and AI answer engines can actually read and cite a site.

About SEO ProCheck

Technical SEO consulting and GEO strategy with 20 years of enterprise experience. Case studies, resources, and tools for search and AI visibility.

Work With Me

Technical SEO audits, GEO strategy, site migrations, and international SEO. Hourly consulting for teams who need hands-on support, not just reports.

Subscribe to our newsletter!

More from our blog