Hello,
We apologize for the issue you are facing with your sitemap in Google Search Console. It sounds like there may be a few potential reasons for the "Couldn’t Fetch" error. Here are some steps you can take to troubleshoot and resolve the issue:
1. Validate Your Sitemap
First, ensure that your sitemap is correctly configured. You can use the Validate XML Sitemap tool to check for any errors in your sitemap.
2. Check Sitemap Location
Make sure your sitemap is located in the root folder of your WordPress installation. The URL should look like this:
`https://rankmath.com/blog/clear-cache-in-wordpress/
3. Ensure Posts Are Set to Index
If all your posts are set to noindex, your sitemap will be empty. Go to Rank Math SEO → Titles & Meta and ensure that the Index checkbox is enabled for your posts.
4. Flush Permalinks
Sometimes, flushing permalinks can resolve issues with sitemaps. Go to Settings → Permalinks in your WordPress dashboard and click Save Changes without making any changes.
5. Clear Cache
If you have caching enabled, make sure to clear your website cache. You can refer to this article on how to clear cache in WordPress.
6. Exclude Sitemap from Caching
Ensure that your sitemap is excluded from caching. You can find more information on how to do this in our knowledgebase article on excluding sitemaps from caching.
7. Check Cloudflare Settings
Since you mentioned using Cloudflare, ensure that there are no firewall rules or settings blocking access to your sitemap.
8. Resubmit Your Sitemap
After performing the above steps, go back to Google Search Console and resubmit your sitemap URL.
If you continue to experience issues after trying these steps, please reply to this ticket with any additional details or errors you encounter, and a human agent from our support team will assist you further.
Thank you for raising this concern, and we hope these steps help resolve the 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. Your ticket has been assigned to a human agent and we will get back to you shortly.