Sitemap Not Found? How to Create and Submit One

Short answer

If a checker says your sitemap is missing, it looked at yoursite.com/sitemap.xml and got a 404, and your robots.txt didn't point anywhere else. Most platforms generate one automatically; if yours doesn't, create it, add a Sitemap line to robots.txt, and submit it in Search Console.

If a site checker tells you "no sitemap found," it means it looked at yoursite.com/sitemap.xml and got a 404, and your robots.txt didn't point to a sitemap anywhere else. This is fixable in a few minutes, and it's worth doing: a sitemap is the fastest way to tell search engines about every page you want indexed.

What a sitemap is

An XML sitemap is a plain file that lists your site's URLs, optionally with the date each was last changed. It looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-09-17</lastmod>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-08-02</lastmod>
  </url>
</urlset>

Search engines read it to discover pages they might otherwise miss (deep pages, new pages with few links) and to learn which pages changed recently so they can re-crawl them first.

A sitemap does not guarantee indexing. Google still decides. But it removes the "we didn't know this page existed" problem entirely.

Where it should live

By convention: https://yoursite.com/sitemap.xml. Crawlers check there automatically.

It can live somewhere else, as long as robots.txt says where:

User-agent: *
Allow: /

Sitemap: https://yoursite.com/sitemap_index.xml

Both the SEO Checker and Google follow that line. If your sitemap is at a non-standard path and you haven't added the Sitemap: line, add it now; that alone fixes "not found" for many sites.

How to create one

WordPress

WordPress has generated a sitemap by default since version 5.5. It's at /wp-sitemap.xml. If you use Yoast, Rank Math or All in One SEO, they replace it with their own at /sitemap_index.xml or /sitemap.xml and add the robots.txt line for you.

If the checker still says "not found," open Settings → Reading and make sure "Discourage search engines from indexing this site" is unchecked. That setting disables the sitemap and adds a noindex to every page.

Shopify

Automatic, at /sitemap.xml. Nothing to do. If it's missing, the store is probably password-protected or still on a trial that hasn't been published.

Wix, Squarespace, Webflow

All three generate /sitemap.xml automatically for published sites. Squarespace and Webflow let you exclude pages from it in each page's settings.

Next.js, Astro, Hugo, Jekyll

Static-site generators usually have a plugin or built-in option:

Plain HTML or a custom app

Write it yourself. It's just text. Any script that can list your URLs can produce the XML above. Serve it with Content-Type: application/xml at /sitemap.xml. Keep each file under 50,000 URLs and 50 MB; beyond that, split it and point a sitemap index at the pieces.

What to include (and not)

Include: every page you want in search results. Home, product pages, articles, category pages, tool pages.

Exclude: pages with noindex, pages that redirect, login and account pages, search-result pages, thank-you pages, duplicate URLs with tracking parameters. Listing a page in the sitemap and then blocking it with noindex sends Google a mixed signal.

Multilingual sites: list every language version of each page, and add xhtml:link rel="alternate" hreflang="..." entries so Google knows they're translations, not duplicates.

Submit it

Google: Search Console → Sitemaps → enter sitemap.xml → Submit. Status will show "Success" and a count of discovered URLs within a few hours.

Bing: Bing Webmaster Tools → Sitemaps → Submit sitemap → paste the full URL. Bing also powers DuckDuckGo and Yahoo, and it's what ChatGPT's web search uses, so this is worth the two minutes.

Verify

Open yoursite.com/sitemap.xml in a browser. You should see XML, not a 404 and not an HTML page. Then run the site through the SEO Checker and confirm the "XML sitemap" line says found.

Common questions

Do I need lastmod? Optional, but useful. Google uses it to prioritise re-crawling. Only include it if it's accurate; a lastmod that's always "today" is ignored.

What about priority and changefreq? Google ignores both. Leave them out.

My sitemap lists 500 pages but Google indexed 80. Is it broken? No. Google chooses what to index based on quality and demand. The sitemap's job is discovery, not persuasion. Look at Search Console → Pages for the reasons each URL wasn't indexed.

Should I submit the sitemap again after adding pages? No need. Google re-reads it periodically. Requesting indexing for the new page through URL Inspection is faster.

Frequently asked questions

Where should my sitemap be located?

By convention at yoursite.com/sitemap.xml. It can live elsewhere as long as robots.txt has a Sitemap line pointing to it.

Do I need a sitemap for a small site?

It helps but is not required. Search engines can find pages through links. A sitemap speeds up discovery and is useful for new sites with few backlinks.

Why is my sitemap not found?

Common causes are a platform that doesn't generate one, a noindex or search-engine-discouraged setting, or a sitemap at a non-standard path with no robots.txt reference.

Does submitting a sitemap guarantee indexing?

No. A sitemap handles discovery, not persuasion. Google still decides what to index based on quality and demand.

Try it on your site

Free, no signup. Takes about ten seconds.

Open the tool

Keep reading