Seven common reasons a page does not appear in the Yoast SEO sitemap, from noindex settings and excluded post types to caching and static files.
In this article 3 sections · 3 min read
Yoast SEO generates XML sitemaps automatically on WordPress sites. When a page is missing, it is usually because of a setting rather than a bug. Work through these checks.
01Common reasons pages are missing
1. The page is set to noindex
Yoast leaves noindexed pages out of the sitemap. Open the page editor, go to the Yoast panel’s Advanced section and check whether search engines are allowed to show it.
2. The post type or taxonomy is excluded
In Yoast’s settings, check that the relevant content type, for example pages, a custom post type or a category, is set to show in search results.
3. A static sitemap file overrides Yoast
If an old sitemap.xml file sits in your site’s root folder, the server may show it instead of Yoast’s dynamic sitemap. Remove or rename the old file.
4. Caching or CDN serves an old version
Caching plugins and CDNs may serve an outdated sitemap. Clear the cache, and exclude sitemap URLs from caching if possible.
5. Permalink problems
If permalinks are broken, sitemaps may not load correctly. Go to Settings, then Permalinks, and click Save to refresh them.
6. Plugin or theme conflict
Another plugin may generate its own sitemap or interfere with Yoast. Temporarily disable other sitemap or SEO plugins to test.
7. The page is not published
Drafts, private pages and scheduled posts are not included until they are live.
02A typical example
A new service page is published but missing from the sitemap. The Yoast panel shows it was set to noindex when it was drafted. After allowing it in search results and clearing the cache, it appears in the sitemap and can be requested for indexing in Search Console.
03Sitemaps take time in Search Console
Even after the sitemap is fixed, Search Console may take days to re-read it. You can resubmit the sitemap index to prompt a fresh read.
If sitemaps keep misbehaving, our sitemap and robots.txt repair service is a quick, fixed-scope fix. Related: pages not crawled or indexed.
Our team can review your situation and tell you exactly what to fix first.
