404 error on Sitemap for Custom Post Type

  • Hi there – one of our client websites at escapebycycle.co.nz has a custom post type “cycle-tours”.
    The CPT shows in RankMath and the sitemap should be at https://escapebycycle.com/cycle-tour-sitemap.xml, but as you can see this url returns a 404.
    I’ve flushed permalinks and checked all the obvious settings in RankMath and Toolset (used to create the CPT) but I can’t see why this isn’t working.
    Thanks in advance for your help.

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

    Just to be sure, did you enabled the custom post type sitemap in WordPress Dashboard > Rank Math Dashboard > Sitemap Settings?

    For example, my custom post type was called “Custom” so I enabled its sitemap like you can see in this screenshot:


    If you did it and it is not working, even after flushing the permalinks, 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:


    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):


    We really look forward to helping you.


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

    Thank you.


    Thank you for contacting Rank Math today.

    I’ve just logged in to your site but it does not seem like you have Rank Math installed. Can you confirm that this is the right website that you want us to check and can I continue with installing the plugin on this site?

    Looking forward to helping you. Thank you.



    We just checked and it looks like the custom post sitemap is working fine now.

    Is there anything else you need help with?


    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘404 error on Sitemap for Custom Post Type’ is closed to new replies.