Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience 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/
Once done, clear your website and browser cache and check the sitemap, and then resubmit the sitemap_index.xml
in the Search Console.
However, the couldn’t fetch error, is in most cases simply due to a bug in the Search Console.
Check this article for more information:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/
Hope this helps and please do not hesitate to let us know if you need our assistance with anything else.
It worked. Should I delete the sitemap which existed earlier in the search console under (Submitted Sitemap ) and then add it again?
Hello,
Yes, delete the submitted sitemap and add again.
Hope that helps.
Thank you.
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.