All terms

XML Sitemap

A file that lists the URLs of a site to help search engines discover and crawl them.

Key takeaways

  • XML Sitemap is a file that lists the URLs of a site to help search engines discover and crawl them.
  • Generate the sitemap automatically from your content, so new pages are always included.
  • Avoid: listing redirects, 404s or noindexed pages.

What is XML Sitemap?

Submit your sitemap in Google Search Console. Keep it clean: only include canonical, indexable URLs. Bloated sitemaps with redirects or 404s waste crawl budget.

Google covers formats and limits in its overview of sitemaps.

Why XML Sitemap matters for SEO in 2026

A sitemap gives search engines a complete list of the pages you want indexed. It matters most for new sites, large sites and pages with few internal links pointing at them.

For a wider view of where this fits, see our full SEO glossary or explore the SEO and GEO service we run for clients.

How to apply XML Sitemap on your site

Knowing the concept is only half of it. Work through these steps in order to put XML Sitemap into practice on your own pages:

  1. Generate the sitemap automatically from your content, so new pages are always included.
  2. List only canonical, indexable URLs that return 200.
  3. Submit it in Google Search Console and Bing Webmaster Tools, and reference it in robots.txt.

Common mistakes to avoid

Most sites that struggle with XML Sitemap fall into the same traps. Check your pages against each of these before moving on:

  • Listing redirects, 404s or noindexed pages.
  • Maintaining it by hand and forgetting new sections.
  • Adding lastmod dates that change on every build when the content hasn't.

Questions about XML Sitemap

A file that lists the URLs of a site to help search engines discover and crawl them.

A sitemap gives search engines a complete list of the pages you want indexed. It matters most for new sites, large sites and pages with few internal links pointing at them.

Start here: generate the sitemap automatically from your content, so new pages are always included. Then list only canonical, indexable URLs that return 200.

The most common is listing redirects, 404s or noindexed pages. Another is maintaining it by hand and forgetting new sections.

Want this done on your site?

Send a couple of lines about your site and we'll tell you where we'd start.