Hello,
We apologize for the issue you are facing with your sitemap not getting updated. Since you’ve already tried flushing permalinks, flushing the sitemap cache, checking the sitemap settings, and validating your sitemap, here are a few additional steps you can take:
-
Increase Links Per Sitemap: Go to Rank Math SEO → Sitemap Settings and increase the value of the Links Per Sitemap by one. Then click Save Changes. This forces the sitemap cache to regenerate.

-
Flush Permalinks Again: After adjusting the links per sitemap, navigate to Settings → Permalinks and click Save Changes again, even if you didn’t make any changes.

-
Check for Caching Issues: Ensure that your sitemap is not being cached by any caching plugins. You can refer to our guide on how to exclude sitemaps from caching.
-
Check for Plugin Conflicts: Sometimes, other plugins can interfere with Rank Math’s functionality. You can use the Health Check plugin to identify any potential conflicts.
If after trying these steps your sitemap is still not updating, we recommend replying 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!
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,
In this case, head over to your website files /uploads/rankmath/, and delete any XML files from that path.
Also, disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on 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/
Looking forward to helping you.