我想在我的网站上使用的个人资料网址的网页,如xyz.com/username漂亮的个人资料网址,而不会
冲突我使用的后续代码:
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?p=profile&u=$1 [L,QSA]
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?p=profile&u=$1 [L,QSA]
我的问题是... 我该如何使用它,并保持访问其他链接,如xyz.com/forums,xyz.com/friends等。
谢谢。
可能重复的[国防部重写和静态网页](http://stackoverflow.com/questions/3250769/mod-rewrite-and-static-pages) – 2010-07-17 21:27:11