mjoffily/t9/master/.htaccess - Htaccess File

mjoffily/t9/master/.htaccess

# BEGIN s2Member GZIP exclusions
<IfModule rewrite_module>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{QUERY_STRING} (^|?|&)s2member_file_download=.+ [OR]
  RewriteCond %{QUERY_STRING} (^|?|&)no-gzip=1
  RewriteRule .* - [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
no-gzip, QUERY_STRING, REQUEST_FILENAME

Comments

Apache