Skip to content
FunnelGuard

Fix guide by FunnelsGuard

No XML sitemap: how to check for one and create it

SEO-099Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

An XML sitemap is a file, usually at /sitemap.xml, that lists the URLs on your site you want search engines to know about. It can also include the date each page last changed. Crawlers such as Googlebot and Bingbot read it as a shortcut alongside normal link-following.

This issue means no such file exists, or it is not reachable at any address a crawler would find. A sitemap is not a ranking factor and it does not force indexing. It helps discovery.

Why it costs you leads or sales

Without a sitemap, search engines rely only on links to find your pages. New landing pages, product pages and orphan pages (pages nothing links to) can take longer to be found, or be missed. A page that is not indexed cannot bring in leads.

The effect is usually modest on a small, well-linked site and bigger on large, new or frequently changing sites. That is why the impact is rated medium.

Discovery of new pages, with and without a sitemapExample numbers
Discovery of new pages, with and without a sitemap (example)No sitemap, page not linked: 21 days; No sitemap, linked from menu: 7 days; Sitemap submitted: 3 days08162173No sitemap, page not …No sitemap, linked fr…Sitemap submitteddays

Example: illustrative days until a new page is first crawled. Real timing varies by site and is never guaranteed.

How a new landing page gets missed
  1. Page publishedNew landing page goes live
  2. Sitemap lookup/sitemap.xml returns 404
  3. Page discoveredOnly if a crawler finds a link
  4. IndexedDelayed or missing
  5. Organic leadNo search traffic

Without a sitemap, discovery depends on internal links alone.

How to check if your site has it

Check for a sitemap in five minutes
  1. Try the common addresses

    Open /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml on your domain. A page of XML or a list of links means one exists. A 404 means it does not.

  2. Read robots.txt

    Open /robots.txt and look for a line starting with Sitemap:. It may point to a non-standard address.

  3. Check Google Search Console

    Go to Indexing > Sitemaps. If the list is empty, nothing has been submitted.

  4. Check from the command line

    Run the command below and look for a 200 status.

Check the sitemap status codebash
curl -I https://www.example.com/sitemap.xml
curl -s https://www.example.com/robots.txt | grep -i sitemap

How to fix it

Most platforms can create a sitemap for you. Use the built-in one where it exists rather than adding a second generator.

Create a sitemap on your platform
  1. Use the core sitemap

    WordPress 5.5 and later creates /wp-sitemap.xml by default. If it 404s, check Settings > Reading: Search engine visibility must be unticked, and a plugin or theme may have disabled it.

  2. Or enable your SEO plugin's sitemap

    In Yoast SEO, open Settings > Site features and turn on XML sitemaps (address /sitemap_index.xml). In Rank Math, open Sitemap Settings and switch it on. Use only one plugin's sitemap.

  3. Save permalinks

    Go to Settings > Permalinks and click Save Changes to refresh rewrite rules if the address still 404s.

Minimal valid sitemap.xmlhtml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/</loc>
    <lastmod>2025-01-15</lastmod>
  </url>
  <url>
    <loc>https://www.example.com/pricing</loc>
    <lastmod>2025-01-10</lastmod>
  </url>
</urlset>
Finish the job
  1. Reference it in robots.txt

    Add a line such as Sitemap: https://www.example.com/sitemap.xml to /robots.txt.

  2. Submit it in Google Search Console

    Open Indexing > Sitemaps, enter the sitemap address and click Submit.

  3. Submit it in Bing Webmaster Tools

    Open Sitemaps, add the address and submit.

  4. Include your money pages

    Check that service, product and landing pages are listed, and that noindex pages are not.

How to confirm it's fixed

Confirmation checklist
  • /sitemap.xml (or your sitemap address) returns status 200
  • The file contains valid XML with <urlset> or <sitemapindex>
  • Every URL uses your final https address
  • Your key landing and product pages are listed
  • robots.txt contains a Sitemap: line
  • Search Console shows the sitemap with status Success

How to prevent it happening again

Sitemaps disappear after plugin changes, theme switches, migrations and rebuilds. Add a sitemap check to your launch and migration checklists. Keep only one sitemap generator active. After any redesign, reopen the sitemap address and Search Console report.

Sitemap status

No sitemap

  • /sitemap.xml returns 404
  • Search Console has no sitemap listed
  • New pages found only through links

Sitemap in place

  • /sitemap.xml returns 200 with valid XML
  • Referenced in robots.txt and submitted
  • New pages listed for crawlers

How FunnelGuard handles this

FunnelGuard does not check for a missing XML sitemap yet. Its discovery step may fetch the sitemap to find pages, but it does not report when one is absent. A sitemap check is a possible future addition.

What FunnelGuard does do is run your real customer journeys, such as lead forms and checkouts, on a schedule and check each step and tracking hit. That covers whether visitors can convert, not whether search engines can find the page.

To watch for a missing sitemap, check the Sitemaps report in Google Search Console and Bing Webmaster Tools every month, and re-test /sitemap.xml after each migration or plugin change. The free read-only FunnelGuard website audit is another way to review your site.

Questions people ask

Do I need an XML sitemap for my website?

It is not required, but it is strongly recommended. Search engines can find pages through links, yet a sitemap speeds up discovery and helps with new, large or poorly linked pages. It costs little to add.

Why is my sitemap.xml showing a 404 error?

Usually no sitemap has been generated, the plugin's sitemap feature is turned off, or rewrite rules are stale. On WordPress, enable the sitemap in your SEO plugin and save Settings > Permalinks. On other platforms, check the sitemap setting and that the site is published and not private.

How do I create an XML sitemap?

Use your platform's built-in sitemap or an SEO plugin. WordPress, Shopify, Wix, Squarespace and Webflow can all generate one automatically. On custom sites, use a sitemap library or script to write a sitemap.xml file.

Where is my sitemap located?

Common addresses are /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml. Your robots.txt file may also contain a Sitemap: line giving the exact address. Google Search Console shows submitted sitemaps under Indexing > Sitemaps.

How do I submit a sitemap to Google?

Open Google Search Console, choose your property, go to Indexing > Sitemaps, enter the sitemap address and click Submit. Add a Sitemap: line to robots.txt too so other crawlers find it.

Will adding a sitemap improve my rankings?

Not directly. A sitemap helps search engines discover and recrawl your pages, but it does not boost rankings or guarantee indexing. Content quality and links still matter.

Does FunnelGuard check for a missing XML sitemap?

No, not yet. It is a possible future check. For now, use Search Console and Bing Webmaster Tools, and test your sitemap address manually after site changes.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.