Created
August 9, 2023 20:17
-
-
Save KristaButler/8eaa47c4f7103d6fdf82b199202d9cf9 to your computer and use it in GitHub Desktop.
MemberPress WPX Cloud CDN Caching Exclusions for .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine OnRewriteBase | |
/RewriteCond %{REQUEST_URI} "/thank-you/" | |
[NC,OR]RewriteCond %{REQUEST_URI} "/login/" | |
[NC,OR]RewriteCond %{REQUEST_URI} "/account/" | |
[NC,OR]RewriteCond %{REQUEST_URI} "/register/" | |
[NC,OR]RewriteCond %{REQUEST_URI} "/mepr/" | |
[NC,OR]RewriteCond %{REQUEST_URI} "/unauthorized/" | |
[NC,OR]RewriteRule ^ - [E=nocache:true]Header always set Cache-Control "no-cache" env=nocacheWordPressProtect captcha, 2 | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment