diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..50c2a93 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On +RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC] +RewriteRule ^ /%1 [NC,L,R] + +RewriteCond %{REQUEST_FILENAME}.php -f +RewriteRule ^ %{REQUEST_URI}.php [NC,L]