Hello,
Thank you for contacting Rank Math.
The sitemaps should be automatically updated whenever a new user will be added to the custom sitemap.
If the sitemap is not updating, exclude the sitemaps from caching.
You can add this filter in the theme’s functions.php
file:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Please clear the cache after adding the filter and check the sitemap.
Let us know how it goes.
We are here to assist you.
OK, I’ll keep an eye on it.
If I have to disable caching, what kind of performance hit is that going to cause (if any?) If we have 10,000+ links in the sitemap
Hello,
It wouldn’t affect the performance as long as your server can handle loading those 10,000 links. You can decrease those link count as Rank Math will just divide those URLs into separate sitemap pages. Google prefers fast-loading sitemaps.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thanks Jeremy, appreciate the quick reply.
I’ll leave caching enabled, and keep an eye on things!
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.