Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
Can you please try following the steps below to 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 doesn’t seem to work, kindly apply the following filter code 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/
Let us know how it goes. Looking forward to helping you.
Thank you.
Hi, thank you. I have carried out steps 1 and 2 successfully. The sitemap hasn’t immediately updated, but perhaps it takes some time? Let me know, and if it should have updated straight away then I will try the filter as well.
Hello,
This should take effect instantly after the sitemap is excluded from the cache. Please try the following #3 mentioned above, and see if that works for you.
Please share the sitemap URL with us, if that doesn’t work.
Thank you.
Hi there, here is the sitemap: https://www.brandbuilderuni.com/sitemap_index.xml
I don’t appear to have access to edit the theme code as number 3 requires…
Hello,
In this case, you may either try accessing your theme files from cPanel/FTP or you may also try using a plugin like WP File Manager to access the files.
Looking forward to helping you.
Thank you.
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.