Hello,
We apologize for the issue you are facing with your sitemap. The error message you are seeing indicates that there may be a critical issue on your website that is preventing the sitemap from being generated correctly. Here are some steps you can take to troubleshoot and potentially fix the issue:
-
Check for Plugin Conflicts: Sometimes, other plugins can conflict with Rank Math. You can use the Health Check plugin to identify any conflicts.
-
Flush Permalinks: Go to your WordPress dashboard, navigate to Settings → Permalinks, and click Save Changes without making any changes. This can help resolve 404 errors related to the sitemap.
-
Check Your Server Error Logs: Look at your server’s error logs to see if there are any specific errors that could give you more insight into what is causing the critical error.
-
Enable Debugging: You can enable debugging in WordPress by adding the following line to your wp-config.php
file:
define( 'WP_DEBUG', true );
This will help you see any PHP errors that might be occurring.
-
Check Your Theme: Sometimes, the active theme can cause issues. Try switching to a default WordPress theme (like Twenty Twenty-One) to see if the problem persists.
-
Review Your Robots.txt File: Ensure that your robots.txt file is not blocking access to your sitemap. You can check this in Rank Math SEO → General Settings → robots.txt.
If these steps do not resolve the issue, please reply to this ticket with any error messages you find or additional details about your setup, and a human agent from the Rank Math Support team will assist you further.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience this issue may have caused you.
You must have received an email from WordPress with the details about the error. Please share it with us here so we can check and assist you further.
If you haven’t received the email with the error code, 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, and they will help you locate the log file.
Having an error log will help us determine what is causing the critical error on your website.
Looking forward to helping you.
Thank 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.