Hello,
I’m sorry to hear that you’re experiencing issues with your sitemap. It’s great that you’ve already checked the sitemap validation and confirmed that it’s fully valid. Since you’ve followed the troubleshooting steps from the Rank Math blog, I’d recommend checking if your sitemap is accessible using the httpstatus.io tool. This will help identify any issues preventing your sitemap from being accessed by Google.
Additionally, you can also try flushing the sitemap cache and excluding the sitemap from caching as outlined in the Rank Math blog.
If the issue persists after trying these steps, please let us know, and we’ll be happy to assist you further.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Indexed, Not Submitted in Sitemap – Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Hello,
Please follow this guide to fix the issue:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/
If the issue persists, please follow the steps to flush the sitemap cache:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
3. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:
/**
* Filter if XML sitemap transient cache is enabled.
*
* @param boolean $unsigned Enable cache or not, defaults to true
*/
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
If you’re not sure how to add this code, you can follow this guide:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.