• Resolved langtuphidao

    (@langtuphidao)


    I use rankmath but sitemap not auto update?

    I must update manually by clear cache of w3 total cache form dashboard rankmath and delete all file from “/wp-content/plugins/seo-by-rank-math/sitemap-cache/”

    how to make sitemap update automatically?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @langtuphidao

    Thank you for contacting the support.

    As mentioned here:
    https://www.hongkiat.com/blog/prevent-wordpress-sitemap-cache/
    To exclude the XML Sitemap from caching in W3 Total Cache go to Performance > Page Cache and scroll down to the section where it says “Never cache the following pages”. Enter the following strings in the box:

    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
    ([a-z0-9_\-]*?)sitemap([a-z0-9_\-]*)?\.xml

    If you are using Database Caching then add the same strings to the “Never cache the following pages” under Performance? Database Cache.

    If you are using Minification then go to Performance > Minify and enter the same strings in the field under “Never minify the following pages”.

    Finally, go to Performance > Browser Cache and make sure the same strings are in the “404 error exception list” field.

    If that doesn’t help, please open a new support topic with the respective plugin:
    https://www.ads-software.com/support/plugin/w3-total-cache/#new-topic-0

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Sitemap not update?’ is closed to new replies.