Hello,
We apologize for the issue you are facing with your sitemap causing a critical error. To troubleshoot and diagnose the cause, we recommend following these steps:
-
Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. This will help identify any issues.

-
Check for Caching Issues: Ensure that your sitemap is excluded from caching. Caching plugins can sometimes cause issues with sitemaps. You can refer to our tutorial on excluding sitemaps from caching.
-
Review Robots.txt: Make sure that your sitemap URL is not blocked by any rules in your robots.txt
file. You can check this in Rank Math SEO → General Settings → robots.txt.
-
Flush Permalinks: If you are getting a 404 error, try flushing your permalinks by going to the Permalinks settings in your WordPress dashboard and clicking Save Changes without making any changes.
-
Check for Plugin Conflicts: Sometimes, other plugins can conflict with Rank Math. You can use the Health Check plugin to identify any conflicts.
-
Ensure Posts Are Set to Index: Make sure that your posts are set to index. You can do this by going to Rank Math SEO → Titles & Meta and ensuring the Index checkbox is enabled.

If these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further. Thank you for raising this concern!
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Please follow this guide to eliminate that critical error: https://rankmath.com/blog/fix-wordpress-critical-error/
However, if that guide doesn’t help, please share your website’s recent error logs so we can determine what’s causing the issue.
You can follow this guide to enable debugging in WordPress
https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, they will help you locate the log file.
Looking forward to helping you.
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.