Hello,
We apologize for the issue you are facing with your sitemap not fetching in Google Search Console and Bing. Thank you for providing detailed information about the steps you’ve already taken. Here are some additional troubleshooting steps you can follow to resolve the "Couldn’t fetch" error:
1. Validate Your Sitemap
Make sure your sitemap is correctly configured by using the Validate XML Sitemap tool. This will help identify any issues with the sitemap itself.
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://www.yourdomain.com`
3. Check Index Settings for Posts
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 sitemap cache. Navigate to Rank Math SEO → Sitemap Settings, increase the value of Links Per Sitemap by one, and save your settings. Then, go to Settings → Permalinks and click Save Changes to apply the current settings.
5. Exclude the Sitemap From Caching
Make sure that your sitemap is not being cached by any caching plugins. You can refer to this knowledgebase article on ensuring that your sitemaps are excluded from caching.
6. Check robots.txt File
Ensure that your robots.txt
file is not blocking access to your sitemap. You can check this by going to Rank Math SEO → General Settings → robots.txt.
7. Rename the Sitemap File
As a last resort, you can try renaming your sitemap file in Google Search Console by submitting it as:
https://www.yourdomain.com`
If you’ve tried all these steps and are still experiencing issues, we recommend replying to this ticket so a human agent from our support team can assist you further.
Thank you for your patience, and we hope this helps resolve your issue!
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math