Hello,
We apologize for the issue you are facing with the ‘Couldn’t fetch’ error in Google Search Console. Here are some steps you can take to troubleshoot and potentially resolve this issue:
1. Validate Your Sitemap
Make sure your sitemap is correctly configured. You can use the Validate XML Sitemap tool to check for any issues. If it returns a success message, your sitemap is likely fine.
2. Ensure the Sitemap is Located in the Root Folder
Confirm that your sitemap is located in the root folder of your WordPress installation. The URL should look like this:
`https://rankmath.com/kb/exclude-sitemaps-from-caching/
3. Check Indexing Settings
Ensure that your posts are set to index. Go to Rank Math SEO → Titles & Meta and make sure the Index checkbox is enabled for your posts.
4. Flush the Cache
If your sitemap appears outdated, you may need to flush the cache. Navigate to Rank Math SEO → Sitemap Settings, increase the value of Links Per Sitemap by one, and then click Save Changes. After that, go to Settings → Permalinks and click Save Changes again.
5. Exclude the Sitemap From Caching
Make sure your sitemap is not being cached by any caching plugins or services. You can refer to this article on ensuring that your sitemaps are excluded from caching.
6. Add the Correct Site URL to Google Search Console
Ensure that you have added the correct version of your site URL in Google Search Console. You can check this in Settings → General from your WordPress dashboard.
7. Check Cloudflare Settings
Since you are using Cloudflare, ensure that there are no settings that might be blocking Googlebot from accessing your sitemap. You might want to temporarily disable Cloudflare to see if that resolves the issue.
8. Wait for Google to Fetch
Sometimes, it may take time for Google to fetch the sitemap, especially if there have been recent changes or issues.
If you have tried all these steps and are still facing issues, please reply to this ticket, and a human agent from our support team will assist you further. Thank you for raising this concern!
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math