Practical SEO guide

XML Sitemaps Explained for Beginners

A folded map containing miniature page thumbnails and a compass beside a website folder
The practical takeaway

An XML sitemap lists URLs you want search engines to know about.

A discovery aid, not an indexing guarantee

An XML sitemap lists URLs you want search engines to know about. It can be particularly helpful for new sites, large sites, or pages that are otherwise difficult to discover. Submission does not guarantee crawling, indexing, or ranking. A useful sitemap works alongside a linked website structure rather than compensating for pages that no visitor can reach.

Keep the list accurate

Include preferred canonical URLs that return successful responses and are intended for indexing. Leave out redirects, errors, and private result pages. Use lastmod only when it accurately reflects a meaningful content update. Add the sitemap address to robots.txt and submit it through Search Console when appropriate. Review processing reports after changes instead of assuming submission completed the job.

A checklist you can use

  • List canonical, indexable URLs.
  • Exclude errors, redirects, and private results.
  • Use truthful modification dates.
  • Monitor sitemap processing and page indexing.

Keep the guidance current

Search features and products change. Use the official documentation alongside this guide when you plan an update.

Keep learning

Related guides

See this topic →