Sitemap not showing custom post types

#83994
  • Resolved Chris Kirksey
    Rank Math business

    Even though the custom post types (built with the CPT UI plugin) show up in the backend of the sitemaps area in the Rank Math plugin, with the option to have them in the sitemap turned on, they end up a 404 when you click on them. How do I fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
    ​​​​​​​
    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Chris Kirksey
    Rank Math business

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Alberto
    Rank Math business

    Hello,

    It seems your cache plugin was caching your sitemaps. I added the following exclusions and resaved the permalinks and the issue seems to be solved:

    /(.*)sitemap(.*).xml
    /(.*)sitemap.xsl

    Looking forward to help you.

    Chris Kirksey
    Rank Math business

    Awesome, thank you so much Alberto!

    Michael Davis
    Rank Math pro

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Sitemap not showing custom post types’ is closed to new replies.