CoreCited
Technical

How to find a sitemap of a website: robots.txt, the common paths, and every platform

How to find the sitemap of a website: check robots.txt, try the common paths for WordPress, Yoast, Shopify, Wix and Next.js, and open the sitemap index.

AlexFounder & Developer10 min read

The fastest way to find the sitemap of a website is to open its robots.txt file, at example.com/robots.txt, and look for a line that starts with Sitemap:. That is where the owner tells every crawler where the file lives, and it can point anywhere. Only if there is no such line do you start guessing paths, and the right guess depends on the platform. This guide gives the order to try things in, the paths each platform documents, and the real cases where a guess fails.

If you would rather not type URLs, the free sitemap validator works as a sitemap finder too. Give it a domain and it reads robots.txt, then tries /sitemap.xml and /sitemap_index.xml, then opens what it finds.

Key takeaways
1Start with robots.txt. The Sitemap: line is the owner's own answer, and it can name any path, host or number of files.
2No line? Try /sitemap.xml, then your platform's path: /wp-sitemap.xml for WordPress core, /sitemap_index.xml for Yoast and Rank Math.
3A sitemap index lists other sitemaps. Open the child files to see the actual pages.
4A Google site: search is a poor way to find a sitemap. Sitemaps do not need to be indexed to be read, and some plugins mark them noindex.
5Search Console only lists sitemaps you submitted, not ones Google found through robots.txt.
58%
of hosts with a URL in Bing's index had at least one XML sitemap Bing knew about
Bing, Feb 2023
25
Sitemap lines in the New York Times robots.txt
fetched 11 Oct 2026
50000
URLs per sitemap file at most, so big sites split into many files
sitemaps.org
500
pages or fewer: Google's rough size for a site that may not need a sitemap
Google Search Central

Sources: Bing’s study of sites with at least one URL in its index[7]; the sitemap protocol[1]; Google[5]. The New York Times count is what its robots.txt served when we fetched it.

The order to look in
Each step is cheaper and more reliable than the one after it. Stop at the first that works.
robots.txt
Read example.com/robots.txt and copy every line that starts with Sitemap:.
Step 1: robots.txt. Read example.com/robots.txt and copy every line that starts with Sitemap:.
Step 2: Common paths. Try /sitemap.xml, then the path your platform documents.
Step 3: Open the index. If the file is a sitemap index, open its child sitemaps to reach the page URLs.
Step 4: Your own accounts. For your own site, Search Console and Bing Webmaster Tools list submitted sitemaps.
Step 5: Last resorts. A link in the page footer, a site: search, or asking the owner.

Method 1: read the robots.txt file

The sitemap protocol lets a site name its sitemap in robots.txt with one line, Sitemap: followed by the full URL. The line “is independent of the user-agent line, so it doesn’t matter where you place it in your file”, and a file may list more than one[1]. Google reads it the same way: you can put the line “anywhere in your robots.txt file”, and “there’s no limit to the number of sitemaps you can include”[2]. Bing names robots.txt as one of its two ways to submit a sitemap[6]. The robots.txt standard itself leaves these lines outside the user-agent groups[15].

That makes robots.txt the one place every crawler can look, and the first place you should. Open it in a browser, or run this:

Find the Sitemap lines in a robots.txt
# 1. Read the robots.txt and keep only the Sitemap lines
curl -s https://www.example.com/robots.txt | grep -i '^sitemap:'

# Windows PowerShell
(Invoke-WebRequest https://www.example.com/robots.txt).Content -split "`n" | Select-String '^sitemap:'

Here is what real robots.txt files said when we fetched them on 11 October 2026:

  • Stripe declares https://stripe.com/sitemap/sitemap.xml. Its /sitemap.xml returned a 404. A path guess would have told you Stripe has no sitemap; robots.txt shows it has a sitemap index with nine child files.
  • The New York Times lists 25 Sitemap: lines, including gzipped files such as /sitemaps/new/news.xml.gz and separate files for Wirecutter, The Athletic and Games. No single path would find all of them.
  • Gymshark lists the same line, https://www.gymshark.com/sitemap.xml, three times. Harmless, but a sign the file is assembled by more than one setting.
  • Ahrefs has no Sitemap: line at all, yet ahrefs.com/sitemap.xml answered 200 with a sitemap index of seven files. That is the case for method 2.
A Sitemap line can point to another host
The protocol allows a robots.txt on one host to point to a sitemap hosted on another. Whoever controls that robots.txt is taken to trust the sitemap it names, and every URL in that sitemap must belong to the host that points to it[1]. So if the line names a CDN or a separate sitemap host, that is not necessarily a mistake.

Method 2: try the common sitemap paths

Google recommends putting a sitemap at the site root, because a sitemap only covers the folder it sits in unless you submit it in Search Console[2]. So most sitemaps live at the root, under a handful of names. Try them in this order, and look at the response: a 200 with an XML content type is a sitemap; a 200 with an HTML page is not.

Try the usual paths in one go (bash, macOS, Linux, WSL)
# 2. No Sitemap line? Try the common paths and print the status and content type
for p in sitemap.xml sitemap_index.xml wp-sitemap.xml sitemap.txt sitemap.xml.gz; do
  printf '%-20s ' "$p"
  curl -s -o /dev/null -w '%{http_code} %{content_type}\n' "https://www.example.com/$p"
done

The name is set by whatever generates the file, so the quickest route is to know the platform. Every path below comes from the platform’s own documentation.

Where each platform puts the sitemap
From each platform's documentation, read 7 to 11 October 2026. Toggle columns.
Sitemap URLWhat you will seeWorth knowing
WordPress (core, 5.5+)/wp-sitemap.xmlA sitemap index of public post types, taxonomies and author archivesReferenced in WordPress's own robots.txt. Off when the site discourages search engines
Yoast SEO/sitemap_index.xmlA sitemap index, one child per content typeReplaces the core sitemap. A sitemap at /sitemap.xml is not Yoast's
Rank Math/sitemap_index.xmlA sitemap index, 200 links per file by defaultAdds the sitemap to robots.txt for you
Shopify/sitemap.xmlAn index linking to products, collections, blogs and pagesUpdated automatically. Not readable while the store is in private mode
Wix/sitemap.xmlA sitemap index, with files such as /pages-sitemap.xml and /store-products-sitemap.xmlUpdated automatically. Multilingual sites add per-language files such as /xx_xx-pages-sitemap.xml
Squarespace/sitemap.xmlAn XML list of your URLs and image metadataNot on trial sites or parking pages. A private site must be made public first
Next.js (App Router)/sitemap.xmlWhatever app/sitemap.ts returnsSplit sitemaps from generateSitemaps live at /.../sitemap/[id].xml

Sources: WordPress[8], Yoast[9], Rank Math[10], Shopify[11], Wix[12], Squarespace[13], Next.js[14].

A few details from those pages save time. WordPress core caps each file at 2,000 entries by default and has a filter that switches its sitemaps off, which SEO plugins can use[8]. Yoast says plainly that if you see a sitemap at example.com/sitemap.xml, “your sitemap is not generated by Yoast SEO”[9]. On the live site, Yoast’s own /wp-sitemap.xml answered with a 301 redirect to /sitemap_index.xml when we checked. Wix gives every site a sitemap index and updates it whenever you change the site[12]. Squarespace says its updates “usually appear within an hour, though can take up to 24 hours”[13].

Two variants are easy to miss. Sitemaps can be gzipped, so try .xml.gz as well as .xml[1]. And the protocol accepts a plain text file with one URL per line[1]; Google lets it have any name ending in .txt[2].

Method 3: open the sitemap index

The file you find first is often not a list of pages. A sitemap may hold at most 50,000 URLs and 50 MB uncompressed, so larger sites split their URLs into several files and list those files in a sitemap index[1]. You can tell them apart from the root element: <sitemapindex> lists sitemaps, <urlset> lists pages.

A sitemap index: each <loc> is another sitemap, not a page
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://www.example.com/post-sitemap.xml</loc>
    <lastmod>2026-10-09T07:32:54+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://www.example.com/page-sitemap.xml</loc>
  </sitemap>
</sitemapindex>

Open each child <loc> to reach the page URLs. On real sites the tree can be wide. When we ran the validator’s checks on TechCrunch on 11 October 2026, its robots.txt named two sitemaps, and the main index listed more than 2,000 child files. Yoast’s index listed 21 child sitemaps; the 20 we could read held 1,698 URL entries, 36 of them duplicates. That is why a sitemap finder that stops at the first file tells you little.

Method 4: Search Console and Bing Webmaster Tools

For a site you own, the search engines will tell you what they know. Search Console’s Sitemaps report shows the sitemaps submitted for the property, when each was last read, and its status[3]. Two limits catch people out:

  • It only lists submitted sitemaps. The report “does not show any sitemaps discovered through a robots.txt reference or other discovery methods”, even if Google uses them[3]. An empty report does not mean Google has never seen your sitemap.
  • It is per property. A sitemap submitted under https://example.com will not show under https://www.example.com. Google’s advice is to check you are not “confusing http/https, or www/non-www properties”[3].

Bing Webmaster Tools has a Sitemaps section that shows the submission status, the last read date and processing errors, and Bing says it revisits a known sitemap “typically at least once per day”[6]. The Bing Webmaster Tools guide covers setting it up.

Method 5: the last resorts

Look at the page footer. Some sites link a “Sitemap” page from the footer. That is usually an HTML sitemap, a page for people, not the XML file search engines read. Useful, but not the same thing.

Try a site: search, with low hopes. Searching site:example.com sitemap only finds a sitemap if Google indexed the file, and there is no reason it should. Yoast says “XML sitemaps do not need to be indexed by search engines in order to be read or parsed” and sends X-Robots-Tag: noindex, follow on every sitemap response[9]; the header was there when we requested yoast.com’s own index. Google also warns that a site: search “doesn’t necessarily return all the URLs that are indexed”[4].

Accept that there may be none. A sitemap is optional. Google says a site of “about 500 pages or fewer” that is well linked internally may not need one[5], and Bing’s 2023 study found that 42% of hosts with a URL in its index had no XML sitemap Bing knew about[7]. If robots.txt has no line and the paths return 404, that is your answer.

Myth
Every sitemap is at /sitemap.xml.
What is true
It is only a convention. Stripe's /sitemap.xml returned 404 while its robots.txt pointed to /sitemap/sitemap.xml. Yoast and Rank Math use /sitemap_index.xml.
Myth
A Google site: search shows you the sitemap.
What is true
Only if Google indexed the file. Sitemaps do not need to be indexed to be read, and Yoast marks them noindex.
Myth
If Search Console shows no sitemap, Google has none for the site.
What is true
The report lists only sitemaps submitted through it or its API. Ones found through robots.txt are not shown.

Once you have found it, check it

Finding the file is half the job. A sitemap can load and still be wrong: listing URLs that redirect, return 404, carry noindex or are blocked by robots.txt. Google asks you to list the canonical URLs you want in search results[2], so each of those is an entry that should not be there. Three quick checks once you have the URL:

  • Does it parse? The sitemap validator checks the XML, namespace, dates and limits, then requests a sample of the listed URLs.
  • Are the dates real? When we checked www.wix.com on 11 October 2026, 79% of its 10,525 URLs shared one <lastmod> timestamp, and one date was in the future. The guide to lastmod explains why that matters.
  • Can every crawler fetch what it lists? TechCrunch’s robots.txt disallowed GPTBot and ClaudeBot from all 10,023 URLs our check read, while Googlebot and Bingbot were allowed. That can be a deliberate choice. If it is not one on your site, the robots.txt tester shows which rule matches.

New to the format? What a sitemap is walks through every tag with annotated examples. And if Search Console says the file you found could not be read, that guide goes through each cause.

Don’t guess the path first. robots.txt is where the owner wrote the answer down.
Finding a sitemap, step by step
0/6

From one sitemap to every page

The validator samples URLs from the sitemap it finds. CoreCited’s GEO Audit starts from the same discovery, robots.txt and then the sitemap, and goes on to crawl the pages it lists. The free account audits 10 pages; every plan limit is on the pricing page.

Questions people ask

How do I find the sitemap of a website?

Open the site's robots.txt (example.com/robots.txt) and look for lines that start with Sitemap:. That is where the owner declares it, and it can point to any path. If there is no such line, try /sitemap.xml, then the path your platform uses: /sitemap_index.xml for Yoast and Rank Math, /wp-sitemap.xml for WordPress without an SEO plugin. If it is your own site, Search Console lists the sitemaps you submitted.

Where is the sitemap on a WordPress site?

WordPress 5.5 and later serves a sitemap index at /wp-sitemap.xml and references it in the robots.txt that WordPress generates. If Yoast SEO or Rank Math is active, the sitemap is at /sitemap_index.xml instead. When a site is set to discourage search engines, WordPress turns its own sitemaps off.

Is there a free sitemap finder?

Yes. A sitemap finder only has to do what this page describes: read robots.txt, then try the common paths. The free sitemap validator linked on this page does that from a domain, follows a sitemap index to its child sitemaps, and then checks the files and a sample of the URLs they list.

Why can't I find a site's sitemap with a Google search?

Google only shows files it has indexed, and sitemaps do not need to be indexed to be read. Yoast, for example, sends a noindex header on every sitemap it serves. Google's own documentation also says a site: search does not necessarily return all indexed URLs. Read robots.txt instead.

Does every website have a sitemap?

No. Google says a site of about 500 pages or fewer, where every page is reachable by links from the home page, probably does not need one. Some large sites also choose not to publish one, or publish it at a path only robots.txt reveals. If robots.txt has no Sitemap line and the common paths return 404, assume there is none.

Can a website have more than one sitemap?

Yes. A site can split its URLs across many sitemaps and list them in a sitemap index, and robots.txt can name as many sitemaps as the owner likes. On 11 October 2026 the New York Times robots.txt declared 25 of them.

Keep reading

Sources

[1]Sitemaps XML format — sitemaps.org, updated 21 November 2016
[2]Build and submit a sitemap — Google Search Central, updated 8 July 2026
[3]Sitemaps report — Search Console Help, read 11 October 2026
[4]site: search operator — Google Search Central, updated 10 December 2025
[5]Learn about sitemaps — Google Search Central, updated 10 December 2025
[6]Keeping Content Discoverable with Sitemaps in AI Powered Search — Bing Webmaster Blog (Fabrice Canel, Krishna Madhavan), 31 July 2025
[7]The Importance of Setting the "lastmod" Tag in Your Sitemap — Bing Webmaster Blog (Fabrice Canel), 1 February 2023
[8]New XML Sitemaps Functionality in WordPress 5.5 — Make WordPress Core, 22 July 2020
[9]XML sitemaps in the Yoast SEO plugin — Yoast help center, read 11 October 2026
[10]How to Configure Sitemaps in Rank Math — Rank Math knowledge base, read 11 October 2026
[11]Finding and submitting your sitemap — Shopify Help Center, read 11 October 2026
[12]Understanding Your Site's Sitemap File — Wix Help Center, read 11 October 2026
[13]View your site map — Squarespace Help Center, read 11 October 2026
[14]sitemap.xml (metadata file conventions) — Next.js docs, updated 18 August 2026
[15]RFC 9309: Robots Exclusion Protocol — IETF, September 2022

Find out where you actually stand

One real question, real AI engines, and the answer they gave — including who was named in it. No account, no card.