I am trying to redirect below example url. but unable to get it right please help me.
suppose url is www.example.com/user?id=abcdef (File name user.php)
And i want to redirect it to www.example.com/user/abcdef.
i have tried RewriteRule RewriteCond query string as i guess its wrong.
below is what i have written.
RewriteRule ^user?id=/(.)?$ user.php?id=$1.*
Please help me to solve it. thanks in advance.