• Hi, currently running WP on Nginx and I want to avoid caching the page /add-a-quote/, I’ve added that string in the exclusions list under Advanced. I’ve also added this to the nginx server config

    if ($request_uri ~* "(/add-a-quote|/random-story|/contact-form|/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
            set $cache_uri 'null cache';
    }

    But it still keeps caching that page. Any ideas?

    https://ww.wp.xz.cn/plugins/wp-super-cache/

The topic ‘Excluding URLs from WP Super Cache on NGINX’ is closed to new replies.