-
Hi everyone,
I’m using the Rank Math SEO plugin and have a strange issue within anime website. I’ve enabled a custom post type (for example, anime-reviews) and configured it to be indexed in the plugin settings. However, the sitemap (/sitemap_index.xml) is not listing the custom post type at all — not even as a separate sitemap.
What I have tried:
Verified that the post type is publicly queryable and has_archive is set to true.
Confirmed that “Include in Sitemap” and “Index” are both enabled in Rank Math settings for the post type.
Cleared all caches (Rank Math, theme, WP Rocket).
Regenerated sitemap.
Checked robots.txt — nothing is disallowing it.
Still, the custom post type does not appear in the sitemap, and as a result, none of those pages are getting indexed in Google Search Console.
Is this a bug, or am I missing a hidden setting or conflict?
The ticket ‘Custom Post Types Not Appearing in Sitemap Despite Being Set to Index’ is closed to new replies.