SEO & GEO glossary
XML sitemap
An XML sitemap is a file that lists the URLs on your website you want search engines to crawl, optionally with the date each page last changed. It follows the open sitemaps.org protocol.
Also known as: Sitemap, sitemap.xml
Why it matters
Search engines find most pages by following links, but a sitemap helps them discover new pages sooner, reach pages that are poorly linked and see which ones changed recently. It matters most for large sites, new sites with few links from elsewhere and sites that publish often.
Under Google’s sitemap guidelines (opens in a new tab), one sitemap file can hold up to 50,000 URLs or 50 MB uncompressed; bigger sites split theirs into several files listed in a sitemap index. Google ignores the priority and changefreq values and uses lastmod only when it is consistently accurate. List only canonical URLs you want indexed, and submit the sitemap in Search Console or reference it in robots.txt.
Example
A recipe blog’s sitemap contains an entry with <loc>https://example.com/recipes/lemon-drizzle-cake</loc> and <lastmod>2026-10-02</lastmod>. When the author updates the recipe, the lastmod date changes and crawlers know the page is worth another visit.
How DraftSEO helps
When DraftSEO scans your site to learn which pages exist, your sitemap is one of the sources it reads, so a complete sitemap helps its internal linking find the pages a new article can link to.