Hello,
I’m sorry to hear about the issue you’re facing with your sitemaps not getting updated automatically whenever you create a new page or make changes. This can be frustrating, but I can help you troubleshoot this.
Based on the information you provided, it seems like the problem might be related to the sitemap cache not being flushed automatically after making changes to your website. To resolve this issue, you can follow these steps:
-
Flush the Sitemap Cache: You may need to manually flush the sitemap cache after making changes. To do this, navigate to Rank Math SEO → Sitemap Settings and adjust the Links Per Sitemap count. Then, click on Save Changes to flush the cache.
-
Check Permalinks: After flushing the sitemap cache, ensure that you save the permalinks settings by going to Settings → Permalinks in your WordPress admin area and clicking on the "Save Changes" button.
By following these steps, you should be able to update your sitemaps without having to reset the count of URLs per sitemap manually each time. If the issue persists after trying these steps, please let us know so we can further assist you.
Thank you for reaching out with your concern.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
To avoid having to reset the count of URLs per sitemap and save changes in permalinks every time you make a change, you can try the following steps:
Please try to follow the steps below and see if that works for you:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. 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/
3. If the above steps don’t seem to work, kindly apply the following filter to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
You can also check for Plugin or theme Conflicts. To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Here is a video you can follow as well:
https://www.youtube.com/watch?v=FcIWRhcUP2c
Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.
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.