sitemap 404 error

#406558
Viewing 1 replies (of 1 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support and we regret the inconvenience caused.

    Please exclude the sitemaps of Rank Math 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/

    Once done, flush the sitemap cache by following this video screencast and see if the issue gets fixed: https://i.rankmath.com/pipRDp

    In case the issue persists, please add the below filter to the website and see if that fixes the issue:

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

    You can follow this guide to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how that goes.

    Thank you.

    Hello,

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

The ticket ‘sitemap 404 error’ is closed to new replies.