0

i've done this

RewriteRule ^([A-Za-z0-9-]+)/?$ profile.php?user=$1 [L]

to make

www.example.com/profile.php?user=testing

into

www.example.com/testing

What i'd like to do is change..

www.example.com/profile.php?user=testing

into

www.example.com/user=testing

What is the RewriteRule to accomplish this? Also if i used $_GET with the second clean url would it still work?

5
Contributors
8
Replies
9
Views
6 Years
Discussion Span
Last Post by hijabihtohai
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.