Why my sitemap throw back error 404

#66405
  • Resolved Taniya
    Rank Math free

    Most of the time, when I check my website sitemap, it throws file not found by redirecting me to the homepage and I always have to head over to WordPress Dashboard > Settings > Permalinks and hit the save button once to make it visible.

    Why does it happen? Is there anything I can do about it because when the sitemap disappears, an error also occurs on my webmaster search console!

Viewing 3 replies - 1 through 3 (of 3 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.

    Are you using a caching plugin? If you do, you need to set to never cache the sitemap URLs.

    You can add the following exceptions:

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

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Taniya
    Rank Math free

    Yes, I use wp total cache and thanks for the help. I added the following vexceptions

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

You must be logged in to reply to this ticket.