Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEGIN WPSuperCache
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- #If you serve pages from behind a proxy you may want to change'RewriteCond %{HTTPS} on' to something more sensible
- AddDefaultCharset UTF-8
- RewriteCond %{REQUEST_URI} !^.*[^/]$
- RewriteCond %{REQUEST_URI} !^.*//.*$
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{QUERY_STRING} !.*=.* [OR]
- # --- these are the conditions I added ------------------
- RewriteCond %{QUERY_STRING} .*gclid.* [NC,OR]
- RewriteCond %{QUERY_STRING} .*utm_expid.* [NC]
- # --------------------------------------------------
- RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
- RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
- RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
- RewriteCond %{HTTP:Accept-Encoding} gzip
- RewriteCond %{HTTPS} on
- RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
- RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
Add Comment
Please, Sign In to add comment