exclude sitemap from caching by WP-Optimize – Clean, Compress, Cache Plugin

#386051
  • Resolved Selcuk xD
    Rank Math free

    Hi there,

    This is another cache plugin that has been downloaded over 1 million yet there is no instructions for this plugin about how to exclude sitemap (that has been created by rankmath) from caching and i have been having problems with google rankings as sitemap isn’t updated since rankmath and this plugin conflicts. I would like to ask if it’s possible you to add instructions to https://rankmath.com/kb/exclude-sitemaps-from-caching/ page or just help me out here.

    Thanks

Viewing 1 replies (of 1 total)
  • Hello,

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

    You might not even need to exclude the sitemap from being cached from this plugin.

    Please add the following filter to your website and check if the sitemap is updated properly and consistently after that:

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

    Hope this helps solve your issues.

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

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.