我想在我的網站上使用的個人資料網址的網頁,如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