Why is a page missing from a Yoast sitemap?

The Citead team, updated

In short. A page can be missing from a Yoast sitemap because of noindex settings, a different canonical URL, privacy restrictions, a Yoast Premium redirect, or caching.

Definition: A Yoast XML sitemap lists page URLs for search engines, subject to inclusion rules. As of 17 October 2026, Yoast documents exclusions for pages marked noindex (excluded from search indexing), pages with a different canonical (preferred) URL, and private or password-protected pages.

Key facts

  • Yoast's XML sitemap documentation says sitemaps update automatically when content is added or removed, and exclude post types marked noindex.
  • The sitemap functional specification lists exclusions for private pages and pages with a manually configured canonical URL different from their default value.
  • Yoast's sitemap customization guide connects content-type inclusion to the setting that controls whether that type appears in search results.
  • Yoast's sitemap troubleshooting table also identifies redirects created through Yoast SEO Premium as a reason for an individual URL's absence.

Which sitemap should contain the page?

A sitemap index lists individual sitemap files. Yoast's functional specification places this index at the following path on the site's domain:

/sitemap_index.xml

Each content type has a separate sitemap, and large sitemaps can span several files. The specification gives page as a content-type example in its sitemap naming pattern:

/page-sitemap.xml

Checking the index and the relevant content-type files avoids treating absence from one file as absence from the whole sitemap set. The specification requires content types to be public and contain valid members before their sitemaps are created.

How do page and content-type noindex settings affect inclusion?

noindex is a directive excluding a page from search indexing. Yoast's content exclusion guide documents the page-level control: open the post or page, open Advanced in the Yoast SEO sidebar, and inspect Allow search engines to show this Post in search results? Choosing No, then publishing or updating, excludes the item from the sitemap.

The whole content type also matters. Yoast's customization guide places these controls under Yoast SEO > Settings > Content types. The Show [type] in search results? toggle controls search appearance and sitemap inclusion for that type. Changes require Save changes. These checks cover both a missing individual page and a missing content-type sitemap.

What other exclusions explain a missing URL?

A canonical URL identifies a page's preferred address. Yoast's sitemap specification excludes a page when its manually set canonical differs from its default canonical value. The same specification excludes private and password-protected pages, search results pages, and non-public archives.

For a site-wide absence, it also lists WordPress's Discourage search engines from indexing this site setting as a condition excluding all URLs.

Yoast's error guide recommends checking the redirect manager when a page has been redirected through Yoast SEO Premium. The intended destination and the original URL therefore need separate checks.

What if the settings allow inclusion but the sitemap stays unchanged?

Yoast's sitemap update guide identifies WordPress cache plugins and server-level caching as possible causes of stale sitemaps. It recommends excluding sitemap files from caching in plugins such as W3 Total Cache or WP Super Cache, and checking HTTP headers for server cache output.

For a manual rebuild, the same guide gives this sequence: disable the sitemap feature, clear the cache, and enable the feature again.

FAQ

Should I remove noindex just to add a page to the sitemap?

Review whether you intend the page to appear in search results first. Yoast's exclusion guide uses the search-results permission to remove a page from the sitemap, so the setting affects both purposes.

Is noindex on the sitemap response itself a problem?

Yoast's XML sitemap documentation says its sitemap responses carry an x-robots-tag header with the value noindex, follow. Search engines can still read and parse the sitemap.

Do I need to rebuild the sitemap after every edit?

Yoast's update guide says adding, editing, or deleting content normally requires no manual generation or rebuild. If your sitemap stays stale, check caching before using the documented manual update procedure.

Sources

  1. Yoast, "XML sitemaps in the Yoast SEO plugin", updated 24 February 2026
  2. Yoast developer portal, "Yoast SEO XML Sitemaps: Functional specification", undated
  3. Yoast, "How to customize the sitemap index", updated 24 February 2026
  4. Yoast, "Common XML sitemap errors", updated 6 May 2026
  5. Yoast, "How to exclude content from the sitemap", updated 18 February 2026
  6. Yoast, "Why the Yoast SEO sitemap does not update in WordPress", updated 18 February 2026

Check how a page reads to answer engines. Open the GEO score analyzer

Test a page and see what to fix first

The analysis usually takes less than 10 seconds and needs no account.

400,000+ pages scored in the public benchmark