On this page
What this issue is
An XML sitemap is a file, usually at /sitemap.xml, that lists the URLs you want search engines to crawl. It is stale when pages you published recently are not in it, or when its lastmod dates stop moving while your site keeps changing.
Common causes: the sitemap was exported once as a static file, a cache or CDN serves an old copy, a plugin excludes a post type or taxonomy, a scheduled job that rebuilds it has stopped, or new pages are set to noindex or are drafts.
Why it costs you leads or sales
Search engines can find pages through links, but a sitemap speeds up discovery, especially for new landing pages, products and offers with few links pointing at them. If a campaign page or new product is missing, it may take longer to appear in search, and AI search tools that rely on search indexes will also see it later. The impact is medium: it delays visibility rather than breaking the page for visitors.
- Publish new pagePage is live and works
- Sitemap updatesOld file or cached copy served
- Search engine reads sitemapNew URL not listed
- Page indexed quicklyDiscovery depends on links only
The break is the sitemap step: the new page exists but is never announced.
Example: illustrative numbers only. Real discovery times vary by site and are not guaranteed.
How to check if your site has it
Open the sitemap
Go to yourdomain.com/sitemap.xml (or /sitemap_index.xml, /wp-sitemap.xml). If it is an index, open the child sitemap for pages, posts or products.
Look for your newest page
Search the file (Ctrl+F or Cmd+F) for the URL of a page published in the last week.
Check the lastmod dates
The newest
lastmodshould be close to your latest edit. If it is months old, the file is not regenerating.Check what search engines last read
In Google Search Console, open Sitemaps and look at Last read and Discovered pages. In Bing Webmaster Tools, open Sitemaps for the same details.
Rule out a cached copy
Request the sitemap with a cache-busting query such as
/sitemap.xml?v=2and compare. If it differs, a cache is serving an old file.
curl -sI https://www.example.com/sitemap.xml | grep -iE 'last-modified|cache-control|age|x-cache'
curl -s https://www.example.com/sitemap.xml | grep -c 'your-new-page-slug'How to fix it
The right fix depends on how the sitemap is produced. Start by finding out whether it is a real file on your server or generated on request.
Use one generator
Use your SEO plugin's sitemap (Yoast SEO, Rank Math, or WordPress core at /wp-sitemap.xml). If a static sitemap.xml file sits in the site root, delete it so it stops overriding the generated one.
Check content types
In Yoast: Settings > Content types, make sure Show in search results is on. In Rank Math: Sitemap Settings, enable the post types and taxonomies you need.
Clear caches
Purge your caching plugin and CDN, and exclude the sitemap URLs from page caching. Then save the sitemap settings once to rebuild it.
Check noindex
Pages set to noindex are left out on purpose. Remove noindex on pages you want listed.
Use the built-in sitemap
Shopify generates /sitemap.xml automatically and you cannot edit it. Check the product or page is published and available on the Online Store sales channel.
Check hidden items
Products set to draft, archived, or hidden from search engine listings are not included. Review the Search engine listing section of the product.
Wait and re-check
If you use an app that offers its own sitemap, make sure the one you submit to Search Console is the Shopify one.
Turn on auto-generate
In Site settings > SEO > Sitemap, enable Auto-generate sitemap. If you pasted a custom sitemap, it will not update by itself.
Publish the site
The sitemap updates when you publish. Publish to your live domain, not only the webflow.io staging domain.
Check page settings
In each page's SEO settings, make sure Exclude this page from the sitemap is off. For CMS collections, check the template page settings too.
Check page SEO settings
Wix creates the sitemap automatically. For a missing page, open its SEO settings and make sure Show this page in search results is on.
Publish the site
Unpublished changes do not reach the sitemap. Publish, then re-read /sitemap.xml.
Check page visibility
Squarespace builds /sitemap.xml automatically. Pages that are disabled, password-protected, or have Hide this page from search results turned on are left out.
Check the page is published
Draft pages and scheduled posts that have not gone live yet will not appear.
Check funnel and website settings
Sitemap options depend on whether pages sit in a funnel or a website. Open the settings for the site and check that the pages are published and that indexing is allowed.
Verify the live file
Open the sitemap URL on your live domain and confirm the new page is listed. If your account does not generate one for a page type, list those URLs in a sitemap on your main site instead.
Generate it on request or on deploy
Build the sitemap from your database or routes, either when it is requested (with short caching) or as a step in your deploy pipeline.
Stop serving a hand-edited file
Replace any static sitemap.xml with a generated one, and set a short cache time on it.
Set a sensible cache header
Use a header such as
Cache-Control: public, max-age=3600so a new page appears within the hour.
Not applicable
Tag Manager does not create or change sitemaps. Fix this in your CMS, server, or SEO plugin.
Re-submit the sitemap
In Google Search Console, go to Sitemaps, enter the sitemap URL and press Submit. Do the same in Bing Webmaster Tools.
Request indexing for key pages
For a few important new pages, paste the URL into the Search Console URL Inspection tool and choose Request indexing.
How to confirm it's fixed
- Your newest page URL appears in the live sitemap file.
- The lastmod date on that URL matches its publish or edit date.
- The sitemap loads with a fresh query string and without the query string, with the same content.
- Search Console shows a recent Last read date and no errors on the sitemap.
- The Discovered URLs count has risen to match your page count.
How to prevent it happening again
- Use a generated sitemap, never a hand-edited static file.
- Exclude sitemap URLs from page and CDN caching, or give them a short cache time.
- After adding a new post type, product type or landing page template, open the sitemap and check it is listed.
- Add a monthly task: compare the sitemap URL count with your CMS page count.
- Re-check the sitemap after plugin updates, theme changes and migrations.
Day 0
Example: a static sitemap is exported during a site launch.
Day 30
Example: five new landing pages go live but are not in the file.
Day 45
Example: someone compares the sitemap with the site and finds the gap.
Day 46
Example: the static file is replaced with a generated sitemap and re-submitted.
How FunnelGuard handles this
FunnelGuard does not check this yet. Comparing a sitemap with your live pages is a possible future check, but today it is not part of the service.
What FunnelGuard does cover nearby is the journey after a visitor arrives: a robot visitor runs your real lead forms, checkouts and booking or chat buttons on a schedule, checks the tracking hits sent to platforms such as GA4, Google Ads and Meta, and confirms test leads reach your inbox and CRM. That tells you whether pages that do get traffic convert and track properly, but not whether they are listed in your sitemap.
To watch for a stale sitemap, set a monthly reminder to run the checks above, look at the Sitemaps report in Search Console, and use a crawler such as Screaming Frog or Sitebulb to compare crawled pages with sitemap URLs. A free read-only website audit from FunnelGuard is available too, and the Free plan covers 1 site and 2 journeys with daily checks and no card.
Questions people ask
Why is my sitemap not updating with new pages?
The most common causes are a static sitemap file that never regenerates, a cache or CDN serving an old copy, or a plugin setting that leaves out a post type. Pages set to noindex, draft or hidden are also excluded on purpose. Find out which type of sitemap you have, then fix the generator or clear the cache.
How do I force my XML sitemap to update?
In WordPress, save your SEO plugin's sitemap settings and purge caches. In Webflow, publish the site with auto-generate on. In Shopify, Wix and Squarespace the sitemap rebuilds itself, so check the page is published and visible to search engines. Then re-submit it in Search Console.
How often should a sitemap update?
A sitemap should reflect new and removed pages soon after you publish, ideally within minutes or an hour. Most CMS-generated sitemaps do this automatically. A hand-made or exported file is only as fresh as the last time someone rebuilt it.
Why is a new page missing from my sitemap but live on my site?
Check whether the page is noindex, password-protected, excluded in the page's SEO settings, or in a content type the sitemap does not include. Also check for a cached sitemap by loading it with a query string like ?v=2. If none apply, the sitemap generator is not running.
Does a stale sitemap hurt my rankings?
It does not directly lower rankings for pages already indexed. It can slow down discovery of new or changed pages, especially ones with few internal links. Fixing it helps new pages get found sooner.
How do I check when Google last read my sitemap?
Open Google Search Console, go to Sitemaps, and look at the Last read column and the Discovered pages count for your sitemap. If Last read is old, re-submit the sitemap. Bing Webmaster Tools has a similar Sitemaps report.
Do I need to re-submit my sitemap every time I add a page?
No. Once submitted, search engines re-read it from time to time, and a Sitemap line in robots.txt helps them find it. Re-submit after fixing a problem or if you want a quick re-read. Request indexing for individual important pages.
Does FunnelGuard check if my sitemap is up to date?
No, not yet. A sitemap freshness check is a possible future addition. For now, use Search Console's Sitemaps report and a site crawler to compare your sitemap with your live pages.
Related issues
- SEO-099No XML sitemapFix guide
- SEO-101Sitemap not submitted in Search Console / Bing WebmasterFix guide
- SEO-102Sitemap returns 404 or 5xxFix guide
- SEO-105Sitemap lists 404, redirect, noindex or canonicalised URLsFix guide
- SEO-109lastmod missing or set to the same date on every URLFix guide
- SEO-110Money pages missing from the sitemapFix guide