Hello,
We apologize for the issue you are facing with the Rank Math sitemap not updating automatically. It sounds like you’ve already taken several steps to resolve this, which we appreciate.
Here are a few things you can check to troubleshoot the issue further:
-
Caching Issues: Ensure that your caching plugin is not caching the sitemap. You can exclude the sitemap files from being cached by following this guide: Exclude Sitemaps from Caching.
-
Sitemap Settings: Double-check your sitemap settings in Rank Math to ensure everything is configured correctly. You can access these settings under Rank Math SEO → Sitemap Settings.
-
Flush Cache: If you have a caching mechanism in place, try flushing the cache after making changes to your menu structure.
-
Check for Conflicts: Sometimes, other plugins or themes can conflict with Rank Math. You can use the Health Check plugin to identify any potential conflicts.
-
Manual Update: If the above steps do not resolve the issue, you might need to manually regenerate the sitemap by going to Rank Math SEO → Sitemap Settings and toggling the sitemap feature off and then back on.
If you continue to experience issues after trying these steps, please reply 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, and we hope to resolve it for you soon!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
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,
Please note that you should use only 1 plugin to generate your sitemap. Also, Rank Math’s sitemap is generated virtually, so you shouldn’t have any XML sitemap files in your root directory.
To ensure that Rank Math sitemaps are working, please follow these steps to flush your sitemap cache:
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. 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.