• Resolved marcorroma

    (@marcorroma)


    Hi, I believe that not all posts on my site are indexed in the Rank Math sitemap.

    I currently have 51,409 published posts on my site, 137 authors (tags are excluded from the robots.txt file) and about 20 pages.
    Only 35,336 pages are found on Google Search Console.

    The sitemaps generated by Rank Math are 224.
    Browsing through the sitemaps of posts I can’t find the ones with the latest posts (about 50-60 posts per day are published on my site).
    Why can’t I find the most recent posts in the sitemaps?

    Here is the link to the index of my sitemap:
    [ redundant link removed ]

    Thanks

    • This topic was modified 2 years, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Rank Math

    (@rankmath)

    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.

    Thread Starter marcorroma

    (@marcorroma)

    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.
    Plugin Author Rank Math

    (@rankmath)

    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.

    Thread Starter marcorroma

    (@marcorroma)

    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

    Plugin Author Rank Math

    (@rankmath)

    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.

    Thread Starter marcorroma

    (@marcorroma)

    Hi, I have disabled the cache via the php function inserted in my theme.
    How can I solve the problem?

    Plugin Author Rank Math

    (@rankmath)

    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.

    Thread Starter marcorroma

    (@marcorroma)

    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

    Plugin Author Rank Math

    (@rankmath)

    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.

    Thread Starter marcorroma

    (@marcorroma)

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Sitemaps of posts’ is closed to new replies.