Sitemap not updating

#40182
  • Resolved Oscar Sanchez
    Rank Math pro

    Hi there,

    We’ve an issue with the sitemap. It seems like it can’t create a new sitemap when it reaches the 200 URLs in it (or any limit, we tried 1000, 900, etc. and the same issue occurs). If you go, for example, to the videojuegos-sitemap1.xml, you can see that the last update was at 00:28, but the last post available on the site is from 10 minutes ago.

    Can you check that and see why this is happening?

    Thanks! Best regards.

    • This topic was modified 4 years, 7 months ago by Oscar Sanchez.
Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have checked your sitemap and it is updating correctly, please add an exclusion list on your caching settings to prevent the sitemap from being cached.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi there,

    There is no cache for xml files. Can you send me an screenshot of the index sitemap generating a new one for videojuegos, for example? This is the last thing I see https://gyazo.com/aac0f191e96139d7c1b178a486a93840
    and, for example, I don’t see any content of today on any sitemap. The issue only occurs when the last sitemap reaches its maximum; if I save with another settings, it will update well until some sitemap reaches the maximum number. Until that, the sitemap works great, with no issues related to cache.

    We used Yoast Sitemap Generator in the past and this was not happening, even with the same cache system: WP Rocket and Fastly as a CDN.

    Best regards.

    Hello,

    Thank you for contacting Rank Math today.

    ​​​​​​I think I’ve now understood the problem. We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi there,

    Thank you, I shared in private the details to access.

    Best regards.

    Hi there,

    Thanks for the reply.

    I have cleared the cache and also performed a fresh install of the plugin. Could you please check if the right URLs are updated on the sitemap?

    I am looking forward to your response. Thank you.

    Hi,

    Now it is working because you changed the number of URLs per sitemap to 500. I’m sure that the next post will not be included because the first sitemap reached 501 URL (I don’t know why it always do number +1).

    The problem is that it seems like the plugin cannot create another new sitemap when it reaches the maximum, so it stops working. Also, I think it’s a bad idea to put the new posts on the first number, because the old sitemaps will always be constantly changing its number. I think is better to start from older to newer posts and from sitemap1 to sitemapX, with the old ones on the sitemap1 and the newer ones on the last number, and then creating successive numbers.

    Todd
    Rank Math free

    Hi Oscar,

    I see 291 in the last sitemap there. Once you reach 500 on that one and the next sitemap doesn’t get created – please let us know so we can check.

    As of now, I don’t see any issue with the sitemap.

    And don’t worry about what appears first and what appears last. It doesn’t matter to Google so it shouldn’t matter to you.

    Ok thanks! We’ll continue to monitor the sitemap and I’ll tell you if something is still wrong.

    Best regards.

    Todd
    Rank Math free

    Hi Oscar,

    That sounds great.

    We look forward to helping you further (if needed).

    Thanks.

    Hi there,

    The sitemap is not updating again, for example: https://areajugones.sport.es/videojuegos-sitemap1.xml

    Best regards.

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you please head over to Rank Math > Dashboard and disable the sitemap module and then check whether the same error will be reported when you use the following plugin instead: https://wordpress.org/plugins/google-sitemap-generator/

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi there,

    Ok, we just installed the plugin you’ve recommended. We’ll monitor the sitemap generated by this plugin and we’ll tell you something.

    Best regards.

    Hi Oscar,

    Thanks for the follow up.

    Please keep us posted on the progress.

    Hi there,

    As for now, the sitemap located now in https://areajugones.sport.es/sitemap.xml is updating well, with no delays or something like that.

    Best regards.

    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.

Viewing 15 replies - 1 through 15 (of 16 total)

The ticket ‘Sitemap not updating’ is closed to new replies.