Hello,
I apologize for the issue you are facing with your sitemap. It seems that while some parts of your sitemap are being fetched by Google, others are still encountering issues. Here are a few steps you can take to troubleshoot and resolve this problem:
1. Validate Your Sitemap
Make sure that your sitemap is correctly configured. You can use the Validate XML Sitemap tool to check for any issues. If there are no issues detected, it will confirm that your sitemap is valid.
2. Check Sitemap Location
Ensure that 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/05/Save-Changes.jpg
3. Ensure Posts and Categories Are Set to Index
Make sure that all your posts and categories are set to index. You can do this by going to Rank Math SEO → Titles & Meta and ensuring that the Index checkbox is enabled for the relevant sections.
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 save your settings. After that, go to Settings → Permalinks and click Save Changes to ensure the current settings are applied.
5. Exclude the Sitemap From Caching
Ensure that your sitemap is not being cached by any caching plugins or server-side caching. You can refer to this article on ensuring that your sitemaps are excluded from caching.
6. Resubmit Your Sitemap
After making these changes, resubmit your sitemap in Google Search Console under Indexing → Sitemaps. Make sure there are no spaces in the sitemap URL when submitting.
7. Wait for Google to Fetch Again
Sometimes, it may take a while for Google to fetch the updated sitemap. If you’ve made all the necessary changes and submitted it again, you may just need to wait for Google to crawl it again.
If you continue to experience issues after trying these steps, please reply to this ticket with any specific error messages or behaviors you’re observing, and a human agent from our support team will assist you further.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math