RewriteEngine On
RewriteCond %{REQUEST_URI} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
