I have following url:
www.example.com/profile?id=31
And I want to redirect it to :
www.example.com/profile/id/31
How can I do this ??
I tried using this:
RewriteCond %{QUERY_STRING} (^|&)id=31($|&)
RewriteRule ^www\.example\.com/profile$ /www.example.com/profile/id/31?&%{QUERY_STRING}
But it is not working