Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
As an initial troubleshooting, please try following 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. Add the filter code to your theme’s functions.php file:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
You may also follow this guide on applying filters to your website.
Let us know if that fixes the current format of your sitemap.
Looking forward to helping you.
Hello!
There is no caching on the site, the server does not cache the sitemap.
I looked at Rank Math sitemap_index.xml
The same situation.
There are 2 sitemaps:
https://rankmath.com/ht_kb-sitemap1.xml
https://rankmath.com/ht_kb-sitemap2.xml
Same https://rankmath.com/ht_kb-sitemap1.xml and https://rankmath.com/ht_kb-sitemap.xml
This means that when 200 pages are reached, ht_kb-sitemap1.xml is created, and ht_kb-sitemap.xml is not deleted.
Exist simultaneously https://rankmath.com/ht_kb-sitemap.xml and https://rankmath.com/ht_kb-sitemap1.xml
How can this be fixed in the plugin Rank Math?
Hello,
This shouldn’t be an issue since the initial sitemap URL (/sitemap.xml) is removed from the index whenever the links per sitemap reach the limit (200 by default) and replaced by /sitemap1.xml.
Also, you may need to submit your sitemap index only and remove your sub-sitemaps in Google Search Console. Google will use it then to find and crawl the other sitemaps.
Here’s a link for more information:
https://rankmath.com/kb/submit-sitemap-to-google/
Hope that helps.
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.