Showing “critical error” while opening my blog’s sitemap.xml page

#358545
  • Resolved Haseeb Alam
    Rank Math free

    Hi team RankMath,

    When I visit to my blog’s sitemap page, there is showing “There has been a critical error on this website“.

    Sitemap URL: https://hindibuddy.com/sitemap_index.xml

    I have done troubleshooting by every deactivating/activating plugin and theme to find the conflict.

    And I have found, when I activate RankMath with/without other plugins/themes, my blog customizer in not publishing my changes.

    I don’t understand what’s wrong with RankMath, please resolve this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hi Asrani, Thanks for the faster response…

    I am glad to tell you, problem was just fixed from my side.

    Actually my sitemap was not refreshing, so I have putted the code below in my function.php file of Child theme.

    /**
     * Filter if XML sitemap transient cache is enabled.
     */
    add_filter( 'rank_math/sitemap/enable_caching', 'false');

    After removing this code, RankMath and all WordPress functions are running properly.

    But my sitemap is not refreshed again. Then I flushed my sitemap cahse with the help of RankMath KBs.

    I exclude the sitemap from WP Rocket caching plugin. But I have to not putted given rule in .HTACCESS file.

    Should I add the rule in .htaccess file too?

    By the way, thanks a lot for quick response and ultimate knowledge base.

    Anas
    Rank Math business

    Hello,

    If you have already excluded the sitemaps from caching in your caching plugin, there is no need to add the rewrite rules in the htaccess file.

    Don’t hesitate to get in touch if you have any other questions.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Showing “critical error” while opening my blog’s sitemap.xml page’ is closed to new replies.