Options +FollowSymLinks

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

Leave a Reply

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