Hello,
Thank you for contacting Rank Math support. I’m sorry to hear that you are having trouble with your sitemaps.
We noticed that all of your sitemaps are showing a blank page. This is not normal and there are a few possible reasons why this could be happening, such as a caching issue or a plugin/theme conflict.
Don’t worry, we are here to help you fix this issue as soon as possible. Please follow these steps carefully and let us know if they work for you:
- First, you need to make sure that your sitemaps are not being cached by your hosting provider, plugin, or CDN service. Caching can interfere with the dynamic generation of your sitemaps and cause them to show a blank page. Please follow this guide to exclude your sitemaps from caching: https://rankmath.com/kb/exclude-sitemaps-from-caching/
- Next, you need to disable the transient caching of your sitemaps. To disable it, you need to add the following code snippet to your website:
/**
* Filter if XML sitemap transient cache is enabled.
*
* @param boolean $unsigned Enable cache or not, defaults to true
*/
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
You can learn how to add code snippets to your website using this guide: https://rankmath.com/kb/wordpress-hooks-actions-filters/
- Finally, you need to check if there is any plugin or theme that is conflicting with Rank Math and causing the sitemap issue. To do this, you need to deactivate all other plugins except Rank Math and switch to a default WordPress theme like Twenty Twenty-One. Then, check if your sitemaps are working correctly. If they are, then you can reactivate the plugins and themes one by one and see which one is causing the problem. You can use this guide to help you with the plugin conflict test: https://rankmath.com/kb/check-plugin-conflicts/
Please try these steps and let us know if they resolve the issue. If not, we will be happy to look into it further and find a solution for you.
Thank you for using Rank Math.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.