What is XML sitemap?

An XML sitemap is a file listing the URLs on a site that you want search engines to crawl, along with when each was last changed, submitted through Search Console so new and updated pages are found quickly.

Also called: sitemap.xml, sitemap.

A sitemap does not make pages rank. It makes them discoverable, which is a smaller claim and a real one — especially for a new site with almost no inbound links, or a site that publishes often. Without one, discovery depends on crawlers stumbling across links.

The most useful field is lastmod. Set honestly, it tells a crawler which pages are worth revisiting, and updated content gets re-indexed in days rather than weeks. Set to "today" on every page as some plugins do, it becomes noise and gets ignored.

Only include pages you actually want indexed: canonical URLs, HTTP 200, not blocked by robots.txt, not noindexed. A sitemap full of redirects and dead ends erodes the trust you are trying to build.

What to actually do about it

  • Serve it at /sitemap.xml and reference it from robots.txt.
  • Include only canonical, indexable URLs.
  • Set lastmod from the real modification date.
  • Submit it once in Search Console; it is re-read automatically after that.
  • Split into multiple sitemaps once you pass 50,000 URLs.
How Koo handles it

Koo generates and updates sitemap.xml for every site as pages and posts change, references it from robots.txt, and pings the search engines when something new publishes.

Related terms

Ready to grow on autopilot?