d
This commit is contained in:
parent
2bbcb331ba
commit
e5a138157b
1 changed files with 8 additions and 0 deletions
8
.htaccess
Normal file
8
.htaccess
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
RewriteEngine On
|
||||
|
||||
# Check if not an existing directory
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
# Check if appending .php points to an existing file
|
||||
RewriteCond %{REQUEST_FILENAME}\.php -f
|
||||
# Rewrite the neat URL to its .php counterpart
|
||||
RewriteRule ^(.*)$ $1.php [L]
|
||||
Loading…
Add table
Add a link
Reference in a new issue