Hello @marcorroma,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
Can you please follow these steps?
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/xXXhDt
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 that does not help, please turn off the Sitemap caching of Rank Math by adding the following filter:
https://rankmath.com/kb/filters-hooks-api-developer/#enable-disable-sitemap-cache
That should fix the issue. Please let me know if that does not. We are here to assist.
Hi, I changed the number of “Links Per Sitemap” and now it seems to work.
I don’t know what solved the problem, but I think I’ll have the same problem back shortly.
The cache (via Litespeed cache plugin) is NEVER active for logged in users, and when I realized that the last posts are missing in the sitemap I was logged in. This is strange.
Even if not logged in, after several refreshes, I have this:
“x-litespeed-cache-control: no-cache”
If I have the same problem again I write to you here…
Thanks for your wonderful support.
-
This reply was modified 2 years, 6 months ago by marcorroma.
Hello @marcorroma
Glad that helped.
It seems like a caching issue. If the issue persists, you can turn off Rank Math’s Sitemap cache.
Hope that helps. Thank you.
Hi, same problem came back.
I cleared all of my site’s cache, but nothing has changed.
I also disabled the PWA plugin, then cleared all cache. nothing.
What can be the cause?
Thanks
Hello @marcorroma
Can you please disable Rank Math Sitemap’s cache?
https://rankmath.com/kb/filters-hooks-api-developer/#enable-disable-sitemap-cache
Please let us know if that helps. Thank you.
Hi, I have disabled the cache via the php function inserted in my theme.
How can I solve the problem?
Hello @marcorroma
It’s definitely related to the caching on your website since the issue will resolve again if you will follow the steps outlined above. Maybe you can try contacting your hosting and if you are uncomfortable sharing that information here, then you can please contact us on our website so we can take a closer look.
Looking forward to helping you. Thank you.
I manage the VPS on which my website is present. The cache is handled by the Litespeed cache plugin, and even if I try to clear all the cache or disable the cache plugin, the problem persists.
Where can I contact you privately?
Thanks
Hello @marcorroma
You can contact us privately by opening a new support ticket on our free forums here:
https://support.rankmath.com/
and then drop an email using the contact form on our website.
Looking forward to helping you. Thank you.