Empty sitemap for custom post type
-
Dear Arne,
I’m using Google XML Sitemap 4.0.8 (GXS). Thank you for this very useful plugin!
I’m facing a weird issue here. I have a custom post type (manuals) and some pages under it. This CPT is of the type page/hierarchic.
The sitemap works fine for all other pages/posts, but for this manuals CPT, it’s empty.
It doesn’t appear in the sitemap root (https://www.edok.com.br/sitemap.xml), but I know it exists because, besides enabling manuals CPT on GXS settings, when running the debug mode I can see the link and expected pages for the CPT.
But the sitemap itself is empty, as you can see at:
https://www.edok.com.br/sitemap-pt-manuals-2016-03.xml
GXS debug recognizes 13 entries in this sitemap alone.
At first, I thought this issue could be related to this post, but it’s not. All my custom posts have
post_date_gmt
properly set.I’ve already messed with all CPT definitions possible. None made it 13 pages to appear in the sitemap.
Do you have any idea on what I’m doing wrong?
Thank you in advance.
Best,
Deny Dias.
EDIT: I know I can add the missing pages manually. I really don’t want to do that, as this CTP is an ever growing one.
- The topic ‘Empty sitemap for custom post type’ is closed to new replies.