How to find the sitemap of a website
Most websites place their XML sitemap at a predictable URL. Try these in order:
https://example.com/sitemap.xml— the standard default location. This works for the majority of WordPress, Shopify, and CMS-generated sites.https://example.com/robots.txt— open the site's robots.txt file and look for aSitemap:directive. Many sites declare their sitemap URL here, and some have multiple sitemap entries.- Google Search Console — if you own the site, check Indexing → Sitemaps for all submitted sitemap URLs.
- This tool — enter any domain above and the checker will automatically try the most common locations and follow any sitemap index to list all child sitemaps.
Other common sitemap paths: /sitemap_index.xml, /sitemap-index.xml, /wp-sitemap.xml (WordPress), /sitemap/sitemap-index.xml.
What is an XML sitemap?
An XML sitemap is a structured file that lists the URLs on a website along with optional metadata — last-modified date, change frequency, and priority. It helps search engine crawlers discover and prioritize pages, especially on large sites or sites with limited internal linking. Most modern CMSs (WordPress, Shopify, Squarespace) generate sitemaps automatically.
Sitemap types
- XML sitemap — the standard format containing
<url>entries with<loc>(required),<lastmod>,<changefreq>, and<priority>. - Sitemap index — a parent file pointing to multiple child sitemaps. Used on large sites where a single sitemap would exceed the 50,000 URL or 50 MB limit.
- Image and video sitemaps — extensions to the standard format providing additional metadata for media content.
Submitting a sitemap to Google
Submit your sitemap URL in Google Search Console under Indexing → Sitemaps. You can also declare your sitemap in robots.txt with a Sitemap: directive — all major search engine crawlers respect this convention and will discover the sitemap automatically on their next robots.txt fetch.
Common sitemap issues
- URLs returning 404 or 301 redirects instead of 200 OK.
- Non-canonical URLs — pages that redirect to a different preferred URL.
- Blocked URLs — pages listed in the sitemap but disallowed in
robots.txt. - Sitemap exceeding 50,000 URLs or 50 MB without splitting into a sitemap index.
- Sitemap URL not declared in
robots.txtand not submitted to Search Console.
Frequently asked questions
How do I find the sitemap of a website?
Try https://example.com/sitemap.xml first. If that returns 404, check https://example.com/robots.txt for a Sitemap: line. For WordPress sites, try /wp-sitemap.xml. You can also enter any domain into the checker above — it automatically tries common paths and follows sitemap index files.
Does every website have a sitemap?
No. Sitemaps are strongly recommended but not required. Small sites with good internal linking may not need one — Google can discover all their pages by following links. Large sites, e-commerce sites, and sites that publish frequently benefit most from an XML sitemap.
Does a sitemap guarantee Google will index my pages?
No. A sitemap is a hint, not a command. Google may still choose not to index a page if its content is thin, duplicate, or blocked by a noindex directive. A sitemap accelerates discovery, but indexing decisions are made independently by the crawler.
What is the difference between a sitemap and robots.txt?
A sitemap tells crawlers what to crawl — it is a positive list of URLs you want indexed. robots.txt tells crawlers what not to crawl — it restricts access to certain paths. Both can coexist and serve complementary purposes. A common convention is to declare the sitemap URL in robots.txt so crawlers find it automatically.