I would also like to know how to clear the sitemap cache as it was proposed in other posts to clear files in the above mentioned folder that doesn’t exist though…
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
If it doesn’t exist, it just means you don’t have one created yet so there is nothing to clean. Why are you trying to clean that cache? Maybe we can help you with it.
Looking forward to helping you. Thank you.
OK, but I have a visible site map that states this sitemao is created by Rank Math!!
To verify see https://themagicoffire.com/sitemap_index.xml
I have a “could-not-process-sitemap” error and thus I wanted to clear the cache. I have started another post for my problem:
https://support.rankmath.com/ticket/could-not-process-sitemap-https-www-xyl-de-sitemap_index-xml-1/#post-70321
I’ve completed the steps, but the error remains…
Hi,
You can clear the Rank Math’s sitemap cache by going to WordPress Dashboard > Rank Math > Sitemap Settings.
Hit the save button without changing anything.
You can change the sitemap directory if you want:
https://rankmath.com/kb/filters-hooks-api-developer/#change-sitemap-cache-folder
Or even disable the cache temporarily and then remove the code once you are done:
https://rankmath.com/kb/filters-hooks-api-developer/#enable-disable-sitemap-cache
These codes need to be placed inside your theme’s functions.php file.
Hope that helps and please do not hesitate to let us know if you need our 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.