Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
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/
If that doesn’t help, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
El cache lo tengo son SG Otimizer, podría influir? Hay alguna cosita que podría mirar?
Hello,
In SG Optimizer, you may need to exclude this URL from getting cached: https://www.your-domain.com/*sitemap* (please replace “your-domain.com” with your actual domain).
You can follow this article to exclude the URL from getting cached:
https://www.siteground.com/tutorials/wordpress/sg-optimizer/supercacher/#:~:text=purging%20to%20work.-,Exclude%20URLs%20from%20Caching,-In%20certain%20cases
If your sitemaps are still not working, then please share the login in the sensitive data section so we can investigate further.
Let us know how this 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.