我想要一个htaccess网址,如 p>
mysite.com/ 类别/ 1
代码> PRE>
的 p>
<代码> mysite.com/category.php?cat=1
code> pre>
my htaccess strong> p>
RewriteEngine On
RewriteCond%{REQUEST_FILENAME}!-f
RewriteRule ^ ([^ \。] +)$ $ 1.php [NC,L]
code> pre>
有一个简单的想法吗?
谢谢你: - ) p> \ n div>