danielkalen/bwd_old/master/.htaccess - Htaccess File

danielkalen/bwd_old/master/.htaccess

#Gzip
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</ifmodule>
#End Gzip

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 9 days"
</IfModule>
## EXPIRES CACHING ##

# 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

# php_value max_input_vars 10000
# php_value suhosin.get.max_vars 10000
# php_value suhosin.post.max_vars 10000
# php_value suhosin.request.max_vars 10000

# <IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteBase /
# RewriteRule ^admin.bwd.dev:8888$ bwd.dev:8888/wp-login.php
# RewriteCond %{HTTP_HOST} ^(www.)?admin.pureaesthetics.net$ [NC]
# RewriteRule ^ http://www.pureaesthetics.net/wp-login.php?login=1 [NE,R=301,L]
# </IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST, REQUEST_FILENAME

Comments

Apache