Sitemap Not Updating Automatically After New Posts

#1015865
  • Resolved Aura Lee
    Rank Math free

    I’m having an issue where the sitemap isn’t updating automatically when I publish new posts on my website https://capcatapk.net/. I’m using the latest WordPress and Rank Math versions, and caching has been cleared. The only way to refresh the sitemap is by going into the Rank Math settings and clicking “Save Changes.” There are no visible errors, and I’ve also tried deactivating/reactivating the plugin. Could this be related to a cron issue, or is there a fix?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    This indicates heavy caching on your sitemap and simply flushing the sitemap cache via our sitemap settings will not be enough.

    Please follow the steps below:

    1. 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/

    2. Apply the following filter code to your site.

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

    Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how that goes. Looking forward to helping 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 ‘Sitemap Not Updating Automatically After New Posts’ is closed to new replies.