We currently changed our site structure from dynamic links to seo friendly links. However we have some old link structure (dynamic ones) indexed by search engines. We would like to give a 301 redirect for those urls to the respective new url. So here is our old link structure: http://mysite.com/folder/process.php?param1=one¶m2=two¶m3=three We would like this redirected to http://mysite.com/prefix-three.html [We currently need to grab the value of third parameter only. Also this needs to match any value for param1 and param2] Would really appreciate your help....
I could suggest something like ^.+param3=(\w+).*$ /prefix-$1\.html [R=301] and so on for other params.