I want to make my user profiles \'pretty\' as it were. Here is the regular URL:
user.php?user=UserName
I want this to become:
user/Username
P
Try these directives:
RewriteEngine on RewriteRule ^user/([^/]+)$ user.php?user=$1 [L,QSA]
This rule rewrites any request with a URL path of the form /user/foobar internally to /user.php?user=foobar.
/user/
foobar
/user.php?user=