MRDezigner/wordpress/master/.htaccess
# Este arquivo deverá ficar na raiz do site
# 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>
<files wp-config.php>
order allow,deny
deny from all
</files>
<Files "xmlrpc.php">
Order Allow,Deny
deny from all
</files>
# inicio compressão GZIP
<ifModule mod_deflate.c>
<filesMatch ".(js|css|html|php)$">
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
</filesMatch>
</ifModule>
# Fim compressão GZIP
# COMEÇA BROWSER CACHE
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresByType application/javascript “access plus 1 month”
ExpiresDefault “access plus 2 days”
</IfModule>
# TERMINA BROWSER CACHE
# END WordPress
On Github License
Files