基本上文件夹等有文件:
contact.php help.php news.php
我如何使/etc/contact直接到/etc/contact.php ?
/etc/contact
/etc/contact.php
RewriteCond %{REQUEST_URI}.php -f RewriteRule (.*) $1.php