RewriteEngine On
Options -MultiViews

# If a .php file with the requested name exists in this directory, rewrite to it directly
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [L,QSA]
