In my page a user profile can be accessed for example by domain.com/profile.php?id=1 or name=admin
My que开发者_JAVA百科stion is how to rewrite this and can be successfuly accessed by domain.com/admin ?
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+) profile.php?name=$1 [L]
精彩评论