Problem

WordPress Sitemap Not Updating

Troubleshoot stale WordPress sitemaps by checking cache, SEO plugin ownership, robots references, canonical URLs, noindex rules, and generated sitemap output.

Symptom

Overview

Search engines or users are seeing an old, incomplete, or incorrect sitemap.

Who this is for: Site owners and SEO teams reviewing search discovery problems.

Diagnosis

What to check before changing the site

Confirm Which Sitemap Is Stale

When a WordPress sitemap is not updating, compare the sitemap URL advertised in robots.txt, the URL submitted in Search Console, and the XML opened on the public site. These can be different files after a plugin change or rebrand. WordPress core uses a file named `wp-sitemap.xml` at the site root; an SEO plugin or custom route may publish a different URL. If the root is an index, open the child sitemap for the affected content type. Record one new page that should appear and one retired URL that should disappear so the fix has two concrete checks.

Separate Generator From Cache

Fetch the final public sitemap after redirects and note its response status, content type, and loc entries. If origin XML lists the new page but the public CDN copy does not, investigate the cache before changing publication settings. If both copies omit it, inspect the generator's content-type rules, publication status, and exclusions. A missing page may be a draft, noindex, or canonical variant rather than a stale file; purging a cache cannot fix those source decisions.

Choose One XML Owner

WordPress core, an SEO plugin, and custom routes can each publish a sitemap. Identify the URL actually linked from robots.txt and used in Search Console, then decide which generator should own each content type. Avoid disabling an existing generator until the replacement sitemap is reachable and contains the intended public URLs.

Check Canonical URLs

For one affected page, compare the sitemap loc with its final public URL, canonical annotation, robots directive, and internal links. A sitemap is a weaker canonical hint than a redirect or rel=canonical annotation. Correct the source of a mismatch rather than adding every URL variant to XML. Keep private, redirected, draft, and intentionally noindex pages out of the submitted sitemap.

Verify and Hand Off

After the generator or cache fix, fetch the public sitemap again and confirm the chosen new URL appears and the retired URL no longer does. Check one child sitemap if the root is a sitemap index. Record the responsible plugin or route, what changed, and the rollback point. Search Console can confirm Google's later processing, but a successful submission does not guarantee indexing of every listed page.

Search & DiscoverySeverity: LowLast reviewed: 2026-10-20

Diagnosis

Symptoms, causes, checks, and fixes

Symptoms

  • New pages are missing from sitemap.
  • Deleted URLs remain listed.
  • Robots.txt points to the wrong sitemap.
  • Search tools report sitemap fetch or parsing issues.

Most Common Causes

  • Cache serving stale XML.
  • Multiple sitemap generators conflict.
  • Noindex/draft status excludes content.
  • Robots.txt references an old URL.
  • Plugin settings disabled a content type.

How To Confirm The Cause

  • Open the sitemap URL directly.
  • Check response status and content type.
  • Compare the public XML with origin output, if available, before purging cache.
  • Confirm which plugin/core feature owns the sitemap.

Fixes

  • Purge sitemap cache.
  • Use one sitemap owner.
  • Fix robots.txt sitemap reference.
  • Update SEO plugin content-type settings.

How To Verify The Fix

  • Fetch sitemap after cache purge.
  • Confirm canonical indexable URLs appear.
  • Submit or inspect sitemap in search console tools.

When To Contact Support

Escalate to SEO plugin or host/CDN support when generated XML and cached XML differ.

Coverage

Related search intents

Wordpress Sitemap Not UpdatingHow To Fix Wordpress Sitemap Not UpdatingWordpress Sitemap Not Updating Troubleshooting

References

Official references

Editorial trust

Published
Updated
Content type
Problems
Review editorial policy

Problem, cause, fix, verify

Problem

Search engines or users are seeing an old, incomplete, or incorrect sitemap.

Audience

Site owners and SEO teams reviewing search discovery problems.

First check

When a WordPress sitemap is not updating, compare the sitemap URL advertised in robots.txt, the URL submitted in Search Console, and the XML opened on the public site. These can be different files after a plugin change or rebrand. WordPress core uses a file named `wp-sitemap.xml` at the site root; an SEO plugin or custom route may publish a different URL. If the root is an index, open the child sitemap for the affected content type. Record one new page that should appear and one retired URL that should disappear so the fix has two concrete checks.

Verify

After the generator or cache fix, fetch the public sitemap again and confirm the chosen new URL appears and the retired URL no longer does. Check one child sitemap if the root is a sitemap index. Record the responsible plugin or route, what changed, and the rollback point. Search Console can confirm Google's later processing, but a successful submission does not guarantee indexing of every listed page.

Strictly necessary

Always active

Required for security, requested SiteCheck workflows, and remembering your cookie choice.