Sitemap not updating on scheduled post

#472427
  • Resolved We Comm
    Rank Math free

    Hi,

    I have scheduled posts on my website, but when they’re published, it doesn’t automatically update the sitemap. However, if I post and publish instantly, it does works.

    How come ?

    Thanks !

Viewing 8 replies - 1 through 8 (of 8 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Please add this filter to your website:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, clear your website cache and check the sitemap.

    Let us know how it goes.

    We are here to assist you.

    We Comm
    Rank Math free

    Hi,

    Thanks for your answer. Unfortunately, it didn’t work.
    Also, I already tried to flush WP Rocket’s cache before and no results. Once, I just updated sitemap settings and it worked but it doesn’t seems anymore.

    Thanks

    We Comm
    Rank Math free

    Oh, it might be updating but scheduled posts are not in order of “Last Mod”, strangely.

    Hello,

    Can you please share your website URL so we can further check? You may share the URL in the sensitive data section.

    Looking forward to helping you with this one.

    We Comm
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    This is happening because your website is multilingual and instead of grouping by the latest modified date we group them by their language variations and then those groups are sorted by the modified date.

    This is not an issue in terms of SEO.

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.

    We Comm
    Rank Math free

    Hi and thanks for your answer. Keep up the good work and have a great day !

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this ticket.