Sitemap.xml 404 error

#597325
  • Resolved Anonymous
    Rank Math free

    I am not able to see sitemaps on my website. It shows 404 error and i have tried flusing permalinks but still the error persists. What should i do?

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    The most possible reason can be that your sitemap is heavily cached. Can you please try following the steps below to see if that works for you?

    #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/

    #3. If the above steps doesn’t seem to work, kindly apply the following filter code to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If the issue persists, please share your sitemap URL with us, so that we can check.

    Let us know how it goes. Looking forward to helping you.

    Anonymous
    Rank Math free

    Hey Team Rank Math,

    I have tried the steps but still the issue persists!

    Here is the link to my sitemap
    https://placingus.site/sitemap_index.xml

    Can you please check it out and fix it as soon as possible?

    Hello,

    We can see the sitemap without any issues on your site:

    sitemap

    Can you please clear your browser cache and check again? You can see that fine.

    Hope that helps.

    Let us know if you need anything else.

    Thank you.

    Anonymous
    Rank Math free

    Thanks for your support I can now see the sitemaps. I think it takes time to show sitemaps, By the way thank you for your support

    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.xml 404 error’ is closed to new replies.