Sitemap link is giving 404 page

  • We had a custom post type for which we modified the slug. The slug change is working fine but after the slug change, the sitemap link is throwing a 404 error for that particular custom post type. Are there any extra steps that need to be done in Rankmath after changing slug of a custom post type?

    Request urgent help.


    • This topic was modified 2 weeks, 4 days ago by Team.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

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

    Thank you.


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

    The issue you were facing was likely due to sitemap caching. I have checked your sitemap and it appears fine from my end. Please check the screencast attached in the sensitive section.
    We recommend that you should have your sitemap URLs excluded from caching by adding them to list of exclusions on your caching plugin.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Thanks much for your timely help. You are right & apologies for un-necessary alert. I have excluded sitemaps from caching & rankmath sitemaps are working perfectly now.

    Thanks again.

    Missed marking this ticket as resolved. Closing it now.


    Don’t worry, we are here to help you.

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

You must be logged in to reply to this ticket.