The Problem
Your Sight AI dashboard shows the same Total URLs count even though you're regularly publishing new articles to your WordPress site. The URL count appears stuck, and new posts aren't showing up in your Activity Feed.
Why This Happens
Sight AI crawls your sitemap every hour to detect new URLs. When you publish a new article, your WordPress SEO plugin (Yoast SEO, RankMath, AIOSEO, etc.) should automatically regenerate the sitemap to include it. However, if a caching layer is serving an old version of your sitemap, Sight AI only sees the stale copy — even though the articles are live on your site.
This is the most common cause of a "stuck" URL count on WordPress sites.
How to Confirm This Is Your Issue
Step 1: Check if a new article is missing from your sitemap
- Open a recently published article on your site and copy the URL
- Open your sitemap in a new tab:
https://yoursite.com/sitemap_index.xml - Click into your post sitemap (usually
post-sitemap.xml) - Use Ctrl+F (or Cmd+F on Mac) to search for your article URL
- If the article is live on your site but not in the sitemap, you have a caching issue
Step 2: Check the sitemap's last modified date
Look at the <lastmod> date in your sitemap index. If it shows a date from days or weeks ago rather than today, the sitemap is being served from cache.
Step 3: Check HTTP headers (advanced)
Open your browser's Developer Tools (F12), go to the Network tab, and load your sitemap URL. Look for these headers in the response:
x-cache-age— if this shows a large number, your sitemap is cachedcf-cache-status: HIT— Cloudflare is serving a cached versionx-litespeed-cache: hit— LiteSpeed Cache is active
Common Causes and Fixes
1. WordPress Caching Plugin
Affected plugins: WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache, Breeze, WP Fastest Cache, Hummingbird, and others.
Most caching plugins cache all server responses by default, including sitemap XML files. You need to exclude sitemaps from your cache.
WP Rocket
- Go to WP Rocket → Advanced Rules → Never Cache URLs
- Add these patterns:
/sitemap_index.xml/(.*)sitemap(.*)\.xml - Click Save Changes, then Clear Cache
W3 Total Cache
- Go to Performance → Page Cache → Advanced
- Add sitemap URLs to the Never cache list
- Purge all caches
LiteSpeed Cache
- Go to LiteSpeed Cache → Cache → Excludes → Do Not Cache URIs
- Add:
/sitemap - Purge cache from LiteSpeed Cache → Toolbox → Purge All
WP Super Cache
- Go to Settings → WP Super Cache → Advanced → Rejected Strings
- Add:
sitemap
Breeze (Cloudways)
- Go to Settings → Breeze → Advanced Options → Never Cache URLs
- Add:
/sitemap - Clear cache from Settings → Breeze → Basic Options
Any other caching plugin
Look for "exclude URLs" or "never cache" settings and add your sitemap URL patterns. Then clear/purge the entire cache.
2. Cloudflare CDN Caching
Cloudflare can cache XML responses at the edge and serve stale sitemaps to Sight AI.
- Log into your Cloudflare Dashboard
- Go to Caching → Cache Rules
- Create a new rule:
- When: URI Path contains
sitemapAND URI Path contains.xml - Then: Cache eligibility = Bypass cache
- When: URI Path contains
- Save and deploy the rule
- Go to Caching → Configuration and click Purge Everything
3. Server-Level Hosting Cache
Managed WordPress hosts often have server-level caching (Nginx, Varnish) that sits in front of WordPress entirely.
WP Engine
Go to your WP Engine dashboard → Sites → Your Site → Clear All Caches. Contact WP Engine support to exclude sitemaps from their caching layer.
Cloudways (Varnish)
Log into the Cloudways console → Your Application → Varnish → click Purge. Add sitemap exclusions under Application Settings → Varnish Settings → Exclude URLs.
Kinsta
Go to your Kinsta dashboard → Sites → Your Site → Tools → Clear Cache. Contact Kinsta support to add sitemap exclusions.
SiteGround
Go to SiteGround Site Tools → Speed → Caching and purge the dynamic cache. Add sitemap exclusions under the cache settings.
Other hosts
Contact your hosting provider and ask them to add a cache bypass rule for sitemap XML URLs. They will know how to configure this for their infrastructure.
4. SEO Plugin Sitemap Cache
Yoast SEO and RankMath store sitemaps in WordPress transients (an internal cache). Occasionally this cache fails to refresh when new posts are published.
Yoast SEO
- Go to Yoast SEO → General → Features
- Toggle the XML sitemaps switch off
- Click Save Changes
- Toggle it back on and click Save Changes again
- Visit your sitemap to confirm new articles now appear
RankMath
- Go to RankMath → Sitemap Settings
- Toggle the sitemap module off and back on
- Or click Update Sitemap if available
5. Object Cache (Redis / Memcached)
If you're using Redis or Memcached as a WordPress object cache, stale sitemap data may persist even after your SEO plugin regenerates the sitemap.
- Open the Redis Object Cache or Memcached plugin in WordPress Admin
- Click Flush Cache or Flush Object Cache
- Alternatively, ask your hosting provider to flush the object cache
- Check your sitemap to confirm it now includes recent articles
After Fixing
Once you've cleared the cache and confirmed your sitemap includes the new articles:
- Sight AI will automatically detect the new URLs on the next hourly crawl (within 60 minutes)
- The Total URLs count on your Indexing Activity page will update
- New URLs will be submitted to Google Search Console and IndexNow (if configured)
- You'll see a "New URLs Detected" entry in your Activity Feed
How to Prevent This in the Future
- Always exclude sitemaps from caching — add sitemap URL patterns to your cache plugin's exclusion list
- Test after cache plugin updates — caching plugins can reset exclusion rules after updates
- Test after hosting migrations — moving hosts often changes the caching layer
- Monitor your dashboard — if the URL count stops growing while you're publishing, check your sitemap first
Still Not Updating?
If you've tried all the steps above and your sitemap still isn't updating:
- Check that your articles are set to Published status (not Draft or Scheduled)
- Verify your SEO plugin hasn't excluded these posts from the sitemap (look for "noindex" or "exclude from sitemap" in per-post settings)
- Check if your posts use a custom post type that isn't included in the sitemap
- Contact your hosting provider and ask them to verify no server-level caching is affecting sitemap responses
If you're still stuck, reach out to us at support@trysight.ai with your site URL and we can help investigate further.