Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Can you please follow these steps?
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/
That should fix the issue. Please let me know if that does not. We are here to assist.
Thank you for quick reply.
I followed the steps above. I have both Wp Fastest Cache and Autoptimize plugins for caching.
I don’t find how to exclude files in the Autoptimize settings. Can you help me about this?
Should I empty the caches now?
Regards
Hello,
If you’re using any other caching plugins, then you’ll have to do some searching to find the solution.
Most SEO plugins do offer this functionality so that you wouldn’t have much trouble. Also, the code snippet we shared is regex code, so any plugin supporting regex should accept the code.
If you can’t find solutions, you can always contact the plugin developer or your hosting provider for support.
I hope this resolves your issue.
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.