Custom Post Type Not Showing In Sitemap

#307648
  • Resolved Craig Blackman
    Rank Math free

    Hi there,

    I have registered custom post types, one of which is Branch (our organisation has different branches (offices)).

    Rank Math has picked this CPT up under Dashboard > Rank Math > Sitemap Settings > Branches

    I have set the toggle witch to on for “Include this post type in the XML sitemap.” yet my sitemap is not showing any branches 🙁

    Please see sensitive data for links

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Firstly, I tried accessing your site URLs and sitemap, however, I am getting an access denied error.

    Have a look at this screenshot – https://prnt.sc/22lm507

    If you’ve any blocking software or firewall enabled, could you please exclude India, Portugal, and the Philippines from that, so we can investigate further. You can turn it on again once this issue is resolved.

    Next, could you please try following the below-mentioned steps and check if this resolves the issue:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    That should fix the issue. Please let me know if that does not.

    Looking forward to helping you.

    Thank you.

    Hi Kamlesh,

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    ^This worked perfectly, thanks for your help 🙂

    Hello,

    Glad that helped.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Custom Post Type Not Showing In Sitemap’ is closed to new replies.