renegadevi/philipandersen.se/master/.htaccess - Htaccess File

renegadevi/philipandersen.se/master/.htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} s/(index.php)?[s?] [NC]
RewriteRule ^ /home? [L,R]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.php [NC,L]
ErrorDocument 404 /home

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, THE_REQUEST

Comments

Apache