Hello,
Thanks for contacting us. Sorry for the delay and 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 share the URL of your sitemap if it doesn’t. We are here to assist.
i done this but the error the still there….
Hello,
Please provide the URL of your sitemap so we can check and assist you further.
Looking forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
i added the urls in Sensitive Data see
Hello,
Thank you for your patience.
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.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for that information.
I’ve checked your site, and it seems that you have outdated plugins including Rank Math. Please update them to the latest version and check if the issue persists.
Also, please check your website’s root directory if you have a static sitemap_index.xml file. If so, delete that file as Rank Math’s sitemaps are generated dynamically.
I hope that helps.
Thank you.
i update the plugin also i checked there is no sitemap_index.xml file
Hello,
I can see that this error is showing up when trying to access your sitemap:

It seems like Weglot is still trying to translate your sitemap and that’s what causing the issue. Please contact their support and inform them about the issue. They should be able to check why this code is being added to your sitemap and how to resolve this as it is being caused by them.
Let us know how that goes. Looking forward to your update.
Thanks.
i contact them they they do not try to convert sitemap anymore (they did is past but not now!)
but there is still error I think rank math use old sitemap…. how can I fource generate new sitemap?
Hello,
i contact them they they do not try to convert sitemap anymore (they did is past but not now!)
I tried clearing the cache to refresh the sitemap and the Weglot’s code is still present in your sitemap causing the issue. Could you please confirm to them that they have excluded your sitemap file?
If the sitemap has been excluded already and the issue persisted, please contact your hosting provider and ask if you have any server-level caching services like Cloudflare that might be still caching your sitemap.
We are looking forward to helping you.
last thing,
i only exclude two URLs
URLS TO EXCLUDE
is_exactly /sitemap_index.xml
is_exactly /main-sitemap.xsl
is there any thing else I need to exclude ?
Hello,
You should also exclude your post-sitemap.xml, page-sitemap.xml, and video-sitemap.xml. If they have regex or wildcard options or something that includes in the URL then you can use that to exclude the URLs that include sitemap in them.
Clear the cache of your sitemap, site, and browser after excluding all the sitemap URLs and check again.
Let us know how that goes.
Thanks.
ok… tried all way one more thing other sitemap plugins work as perfect….
so I think its rank math issue…
i think rank math use old sitemap… how can I reset?
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.