Hello,
We apologize for the issue you are facing with your sitemap showing a white page. This can happen for a few reasons, even if there is no PHP code visible. Here are some steps you can take to troubleshoot and potentially resolve the issue:
-
Check the Source Code: First, check the source code of the sitemap page to see if there is any data present. You can do this by right-clicking on the page and selecting "View Page Source". If the source code is empty, it indicates a conflict with another plugin or theme.
-
Use the Health Check Plugin: To identify if there is a conflict with another plugin or theme, you can use the Health Check plugin. This tool allows you to troubleshoot without affecting your visitors.
-
Flush Sitemap Cache: If there is data in the source code but it still appears blank on the front end, try flushing the sitemap cache and ensure that it is excluded from any caching plugins you may be using. You can find more information on how to do this here.
-
Check for Static Files: Ensure that there are no static files named sitemap_index.xml
on your server. If such a file exists, it could interfere with the dynamic sitemap generation.
-
Custom Code: If none of the above solutions work, you might need to add custom code to your rank-math.php
file from your theme files. You can refer to our guide on how to add a filter/hook to your site for assistance.
If you continue to experience issues, please reply to this ticket with your site URL so that a human agent from our support team can assist you further.
Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
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.
Hey, I have tried the above solutions and none of them helped.