Htaccess File

DanielBGomez/BilgeStatsPit/master/.htaccess

REQUEST_FILENAME
# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working

RewriteBase /
errorDocument 404 /bilgestatspit/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.htm -f
RewriteRule ^(.*)$ $1.htm
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html
Options All -Indexes
Exit mobile version