-
Hello, I installed Rank Math and since then my sitemap has been coming out blank
-
Hello,
We apologize for the issue you are facing with your sitemap showing up blank after installing Rank Math. This can happen for a few reasons. Here are some steps you can take to troubleshoot and potentially resolve the issue:
-
Check the Source Code: First, check the source code of your sitemap page. If the source code is empty, there may be a conflict with another plugin or theme. You can use the Health Check plugin to identify any conflicts.
-
Flush Sitemaps Cache: If there is data in the source code but the sitemap still appears blank, try flushing the sitemaps cache and ensure that your sitemap is excluded from caching plugins. You can find more information on how to do this in our guide on excluding sitemaps from caching.
-
Static File Conflict: Ensure that there is no static file named
_sitemap_index.xmlon your server that could be conflicting with Rank Math’s sitemap functionality. You may need to remove it via FTP if it exists.
If you continue to experience issues after trying these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank MathHello,
Thank you for contacting us. We apologize for any inconvenience this issue may have caused.
Please follow the steps below for initial troubleshooting:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article: https://rankmath.com/kb/exclude-sitemaps-from-caching/
If the issue persists then try disabling the transient cache for the sitemap. This will make sure that your XML sitemap always reflects the latest changes on your site. Kindly add this code snippet to your site:
/** * 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');If you’re not sure how to add this code, you can follow this guide: https://rankmath.com/kb/wordpress-hooks-actions-filters/.
After you add the code, please clear any cache on your site or server and check your XML sitemap again. If you’re still facing issues with the sitemap, please let us know – we are happy to investigate further.
i did everything that you say and my site map still go in white. Try by your self. I dont know what the problem with rank math i used yoast seo for a long time i decided to change to rank math and this have happened. Please help me : https://meridaexperiences.com/sitemap_index.xml
Hello,
We checked your sitemap and looks like you’re currently using the Yoast SEO plugin on your website. Could you please reinstall the Rank Math plugin so that we can check the issue further for you?
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.
-
The ticket ‘Hello, I installed Rank Math and since then my sitemap has been coming out blank’ is closed to new replies.