jehopark/KWiSE-WordPress/master/.htaccess - Htaccess File

jehopark/KWiSE-WordPress/master/.htaccess

# BEGIN s2Member GZIP exclusions
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /~kwiseorg/main/
  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 /~kwiseorg/main/
RewriteRule ^index.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>

# END WordPress

On Github License

Files

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

Comments

Apache