Options +FollowSymLinks

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.