Hello,
We apologize for the issue you are facing with your sitemap showing a "Couldn’t fetch" error in Google Search Console. Here are some steps you can follow to troubleshoot and resolve this issue:
1. Validate Your Sitemap
First, ensure that your sitemap is correctly configured. You can validate your sitemap using the Validate XML Sitemap tool. Enter your sitemap URL and click VALIDATE SITEMAP. If it’s correctly configured, you should see a success message.
2. Ensure the Sitemap is Located in the Root Folder
Make sure your sitemap is located in the root folder of your WordPress installation. The URL should look like this:
`https://rankmath.com/wp-content/uploads/2021/09/Flush-Permalinks-Settings.jpg
3. Flush the Cache
Since you are using the LiteSpeed Cache plugin, it’s important to flush the cache. You can do this by navigating to Rank Math SEO → Sitemap Settings and increasing the value of Links Per Sitemap by one, then save your settings. After that, go to Settings → Permalinks and click Save Changes to ensure the current settings are applied.
4. Exclude the Sitemap From Caching
Ensure that your sitemap is not being cached by your caching plugin. You can refer to this knowledgebase article on ensuring that your sitemaps are excluded from caching.
5. Add the Correct Version of Your Sitemap to Google Search Console
Make sure you are submitting the correct version of your sitemap in Google Search Console. You can do this by navigating to Indexing → Sitemaps and pasting the correct sitemap URL, then clicking SUBMIT.
If you continue to experience issues after following these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern! We hope these steps help resolve your issue.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.