d
This commit is contained in:
parent
32c09806aa
commit
1591bdea51
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