XML Sitemap Not Updating

#422225
  • Resolved Matt
    Rank Math free

    Hi,

    It looks like my XML sitemaps are not updating. For example the Posts sitemap hasn’t updated since April yet I posted 10 articles in the past week (there are many examples like this).

    I tried to troubleshoot this myself:

    – Rankmath knowledgebase articles basically suggest this is usually a caching issue so I followed that path.
    – I’m running WP Rocket for optimisation and Kinsta hosting. Kinsta hosting overrides any WP Rocket caching.
    – I had a long chat with Kinsta support and they came to the conclusion that it isn’t caching, they ran multiple tests: “I think this pretty much rules out a page caching issue. I would suspect in issue with the RankMath plugin or perhaps a plugin conflict.”

    I’m wondering if it’s a plugin conflict or something different? Are there any known conflicts? List of currently used plugins provided in Sensitive Data section below.

    Grateful for any help you can give me!

Viewing 1 replies (of 1 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.

    Hope this helps.

    Thank you.

    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 1 replies (of 1 total)

The ticket ‘XML Sitemap Not Updating’ is closed to new replies.