Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
This is usually a caching related issue on your site, which is easily resolved by our temporary fix, saving the re-saving the permalinks. Sometimes it may due to conflicts with other plugins. Generally, this can be caused by a number of things on your site. If saving the permalinks doesn’t work, we are always here to assist you.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Michael,
A couple of things. This error never existed when I was on Yoast. Has started occurring only after I moved to RM. Also, check the number of people complaining about the exact same issue in your forums. If it went missing once in a while, I wouldn’t mind. There IS something wrong for sure. Hope you escalate this and take it seriously and find a fix.
Hello,
Like my colleague mentioned, clearing the cache had fixed the issues on the users’ site who were facing this problem.
Please try adding following filter code in your theme’s functions.php file to disable the Sitemap Cache:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
This filter will only disable the Sitemap cache created by the Rank Math plugin. If you are using any Cache plugin then please check if a plugin has any option to prevent certain pages from caching and add sitemap_index.xml in the cache prevention field.
I hope that helps.
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.