Hello,
I apologize for the issue you are facing with your new post URLs not being added to the sitemap. It sounds frustrating, especially after following the instructions and clearing the cache.
Here are a few things you can check:
-
Noindex Setting: Ensure that the new posts are not set to Noindex. You can check this in the Advanced tab settings of each post.

-
Sitemap Settings: Verify that the posts are not excluded from the sitemap settings. Go to Rank Math SEO → Sitemap Settings and check if any post IDs are listed under Exclude Posts.

-
Empty Archive Pages: If your new posts belong to categories or tags that have no other posts, those archive pages might be excluded by default. You can enable the Include Empty Terms option in your category/tag/custom taxonomy archive settings.

-
Caching Issues: Since you’ve already cleared the cache, ensure that there are no other caching plugins or server-side caching that might be affecting the sitemap.
If you’ve checked all these and the issue persists, we recommend replying to your ticket with your site URL so that a human agent from our support team can assist you further. They will be able to provide more specific guidance tailored to your situation.
Thank you for raising this concern, and we hope to resolve it 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,
Thank you for your patience.
In this case, 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/
Then, head over to your website files /wp-content/uploads/rankmath/, and delete any XML files from that path.
If the issue persists, try updating the plugin to the beta version, as we have included a fix for sitemap caching issues.
Here’s a guide you can follow:
https://rankmath.com/kb/version-control/#beta-updates
Let us know how this goes.