How to remove file extention from URLs with .htaccess?
 
It's pretty easy just add the following code in .htaccess file
 
RewriteRule ^contact$ contact.php [L]

To enable the laverage browser caching you have to do two things. 

Add the following code into your .htaccess file 


<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"
ExpiresDefault "access plus 2 days"
</IfModule>


And you have to enable mod expires for your server.

That can be done by the following line using ssh 

a2enmod expires

  • we accept:

ip’ovet sauk’eteso azartuli saitebis mimokhilvebi da bonus shetavazebebi Holy Moly Casinos-ze: 1000-ze met’i gankhiluli onlain k’azino chveni eksp’ert’ebis mier, 4000+ bonusi da aktsia. https://apotekdansk.com/ Explore the meaning behind tree tattoos on Chronic Ink’s latest blog post. Pornokaef порно студентки https://steinapotek.com/ Spre Farmacie dawgz.ai/bg