Sitemap Glossary

What is Sitemap Discovery?

The process by which search engines find a website's sitemaps, typically through robots.txt or common URL paths.

Written by SitemapKit Editorial TeamUpdated: Jul 21, 2026

Key takeaways

  • Interpret Sitemap Discovery in its sitemap XML context; the detailed definition below explains its role and constraints.
  • Validate Sitemap Discovery against a real XML example instead of relying on the field or tag name alone.

Sitemap discovery is the process of finding all sitemap files for a given domain. Search engines use several methods:

1. **robots.txt** — The `Sitemap:` directive in robots.txt is the primary discovery method 2. **Common paths** — Checking `/sitemap.xml`, `/sitemap_index.xml`, `/sitemap.xml.gz`, etc. 3. **Search Console / Webmaster Tools** — Manual submission via Google Search Console or Bing Webmaster Tools 4. **Sitemap ping** — Submitting the sitemap URL directly to a search engine's ping endpoint (deprecated by Google)

SitemapKit's `/api/v1/sitemap/discover` endpoint automates this process, checking robots.txt and probing 8 common sitemap paths to find all sitemaps on a domain.

Continue with SitemapKit

Sources and further reading

Work with sitemaps programmatically

SitemapKit's API discovers and parses XML sitemaps into structured JSON, including fields such as Sitemap Discovery.

Related terms