adamfairhead/mobile-first-foundation/master/.htaccess - Htaccess File

adamfairhead/mobile-first-foundation/master/.htaccess

# Hide File Extensions
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache