-
Hello, I’m still searching for the issue behind my sitemap issues from the last ticket.
Now I’ve been looking at the specific fields for the post type concerned. The issue affects only the post type “Listings” under the MyListing theme.I’m puzzled as to why a majority of posts are not even included in the sitemap despite being set to “index”.
Could you tell me please, which custom fields exactly cause a post to be included or excluded in a sitemap? And what must they contain?
I’ve noticed some fields where the content seems to differ in my posts, could any of these be triggering a problem/exclusion?:
rank_math_permalink
rank_math_primary_job_listing_category
rank_math_snippet_jobposting_unpublish
any others?Thanks in advance,
Cheryl____________________________________
FIXED! Rank Math Sitemap only shows the posts which are marked as index and whose canonical URL matches with the post URL. Also check for http vs. https in the canonical! > That did the trick!
____________________________________
The ticket ‘Which custom fields cause post to be included in sitemap?’ is closed to new replies.