JulienMalige/julienmalige.com/master/.htaccess
Options +FollowSymlinks
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_URI} ^/(scanAPI|scanapi)/
RewriteRule . - [S=3] #skip the next 3 rules if the RewriteCond match
RewriteRule (css|favicons|fonts|img|js|misc|pdf)/(.*) $1/$2 [L,QSA]
RewriteRule ^([^/]+)/([^.]*)$ index.php?lang=$1 [L,QSA]
RewriteRule ^(.*) index.php [L,QSA]
## 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 text/html "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 1 month"
</IfModule>
## EXPIRES CACHING ##
On Github License
Files