RewriteEngine on
 RewriteCond %{REQUEST_FILENAME} !-F
 RewriteRule ^([-_!*$@~:.a-zA-Z0-9]+)$ www.site.com/$1.php
olabilir