Hello,
I’m sorry to hear that you’re facing issues with your sitemaps. It can be frustrating when things that used to work suddenly start causing problems. Here are some steps you can take to troubleshoot and potentially resolve the sitemap issues:
-
Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. This tool will help identify any issues with your sitemap.

-
Check Sitemap Location: Ensure that your sitemap is located in the root folder of your WordPress installation. The URL should look like this: https://yourdomainname.com/sitemap_index.xml
.
-
Flush Permalinks: Sometimes, flushing permalinks can resolve 404 errors. Go to the Permalinks settings in your WordPress dashboard and click Save Changes without making any changes.
-
Check for Plugin Conflicts: If you suspect a plugin conflict, you can use the Health Check plugin to troubleshoot.
-
Review Robots.txt: Make sure that your robots.txt file is not blocking access to your sitemap. You can check this in Rank Math SEO → General Settings → robots.txt.
-
Check for Custom Canonicals: If you have custom canonicals set for your posts, they may not appear in the sitemap. Consider removing them to allow Rank Math to generate the canonical URLs.
If you’ve tried these steps and are still experiencing issues, please reply to this ticket with your site URL so we can assist you further. Additionally, if you would like a more comprehensive setup or troubleshooting, consider our professional setup service available at Rank Math Services. This service requires a PRO subscription and ensures your plugin setup adheres to the latest SEO standards.
Thank you for raising this concern, and we hope to help you resolve it soon!
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.
Still having the problem….
Hello,
Thank you for contacting us. We apologize for any inconvenience that may have been caused.
Please try to follow the steps below and see if that works for you.
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. If the above steps don’t seem to work, kindly apply the following filter to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add a filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Once done, clear your website cache and check the sitemap again.
Let us know how it goes. We look forward to hearing from you.
Thank you.