Hello,
Thank you for contacting us. We apologize for any inconvenience this issue may have caused.
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. Apply the following filter code to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/
4. Remove all your sitemaps from your Google Search Console and re-submit only the main sitemap (https://website.com/sitemap_index.xml
)
5. If the issue persists, please try removing all your sitemaps from your GSC account again and try submitting the following: https://website.com/?sitemap=1
.
Let us know how that goes. Looking forward to helping you.