Draft pages or pages marked No in Advanced settings still showing on sitemap
-
I have a custom post type that is not correctly displaying in the sitemap.
I made sure the custom post type was created with ‘public’ => ‘true’ so that it was correctly set up to use Yoast.
However when I update the Advanced settings for a “resource” post to NO/NO (No to search engine visibility and no to following links), it does not update the page-sitemap.xml.
I have tried disabling the W3 Cache plugin we use on the site, turning off Sitemap generation in the General Settings > Features, clearing our Kinsta Server cache, and re-enabling the Sitemap Generation (without turning on the W3 cache plugin). After doing all that the sitemap still does not update.
What other resources or advice is out there to help me understand why this custom post type is not being handled correctly in the generated sitemaps?
- The topic ‘Draft pages or pages marked No in Advanced settings still showing on sitemap’ is closed to new replies.