@@ -1,5 +1,7 @@
+ErrorDocument 404 /404.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
@@ -0,0 +1 @@
+404 Page not found!