Hello,
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
Please follow the steps below:
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. Remove all your sitemaps again from your Google Search Console and resubmit only the primary one (sitemap_index.xml).
Learn more about this error and more ways to rectify it here: https://rankmath.com/kb/sitemap-404-error/
If the issue persists, please share the affected URL with us so we can further check it on our end.
Looking forward to helping 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.