Exclude sitemap via WP ROCKET. I also use server side varnish.

#554356
  • Resolved Christian De Geus
    Rank Math free

    HI,

    I’ve stumbled on this article. https://rankmath.com/kb/exclude-sitemaps-from-caching/.
    I use WP Rocket and server side varnish in direct admin.

    I followed up on Rank Math’s advice regarding WP ROCKET. Adding the lines of code in the WP ROCKET settings.

    Also I’ve added an exclude in the server varnish settings in direct admin as ‘sitemap’.

    Also you can read in the sensitive data section my ht.access info. Should I change this in ht.access.

    How do I know if all works well. And should I do more in the varnish settings?

    Best, Chris

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

The ticket ‘Exclude sitemap via WP ROCKET. I also use server side varnish.’ is closed to new replies.