Hello,
We apologize for the issue you are facing with your sitemap not updating. It sounds like you’ve already taken several steps to troubleshoot the problem, which is great.
Here are a few additional suggestions that might help:
-
Flush Permalinks: Sometimes, simply flushing the permalinks can resolve issues with the sitemap. You can do this by going to Settings → Permalinks in your WordPress dashboard and clicking Save Changes without making any changes.
-
Check Robots.txt: Ensure that your robots.txt
file is not blocking the sitemap. You can check this by navigating to Rank Math SEO → General Settings → robots.txt and ensuring there are no rules that would prevent access to your sitemap.
-
Caching Plugins: Since you mentioned using WP Rocket, ensure that the sitemap is excluded from caching. You can refer to the documentation on excluding sitemaps from caching for more details.
-
Check for Plugin Conflicts: Sometimes, other plugins can conflict with Rank Math. You can use the Health Check plugin to identify any potential conflicts.
-
Enable/Disable Sitemap Caching: You can add the following filter to your theme’s rank-math.php
file to disable caching for the sitemap:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false' );
-
Ensure Pages Are Set to Index: Make sure that the pages you want included in the sitemap are set to index in their robots meta tag. You can check this in the post editing screen under Rank Math SEO → Advanced tab.
If you’ve tried all these steps and the issue persists, please reply to this ticket with any additional details or error messages you might be seeing, and a human agent from our support team will assist you further.
Thank you for your patience, and we hope to resolve this issue for you soon!
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.
Hello,
Could you please apply the following filter on your website to disable the transients cache for the sitemap and see if that works for you?
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add a filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
If the issue persists, 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.

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/
Let us know how it goes. Looking forward to helping you.
Thank you.