Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
The ”Unable to retrieve sitemap” error is, in most cases, simply due to a bug in the Google Search Console. Here’s what to do if you encounter this on your website:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/
Once done, please remove all the sitemaps you have submitted in your Google Search Console and resubmit your main sitemap only /sitemap_index.xml then give Google some time to recrawl your website.
I hope that helps. Thank you, and looking forward to your update.
Thanks for your answer.
I followed the steps but I have a problem on the verification of the 4 variants of the sitemap (httpstatus.io). I have a 508 error, when I check a second time I have other errors (503 for example)
Status codes
Redirects
http://saadaitouali.tk/sitemap_index.xml
503
0
https://saadaitouali.tk/sitemap_index.xml
Error
https://www.saadaitouali.tk/sitemap_index.xml
Error
http://www.saadaitouali.tk/sitemap_index.xml
Error
Hello,
If you’re getting those errors on your sitemap using the tool, you may need to get in touch with your web host to fix it for you. They are in a better position to help you with this kind of issue.
Once done, ensure that only 1 version of the sitemap is working (200 Ok status), and the rest are redirecting to it.
I 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.