Forum Moderators: phranque

Message Too Old, No Replies

swithing to new site with new urls help for one rule

         

hanyaz

3:24 pm on Feb 24, 2011 (gmt 0)

10+ Year Member




Hello I would like to redirect some old urls to new ones without success, here are the old ones :

http://www.exemple.com/keywords.php?keyword=KEYWORD

http://www.exemple.com/search/qs.html?qsvd=oc&searchkey=KEYWORD


I would like them to be :
http://www.exemple.com/Recherche.html?searchword=KEYWORD


Here is what i tried :

RewriteRule ^/?keywords.php?keyword=(.*) /Recherche.html?searchword=$1 [R=301,L]


RewriteRule ^/?search/qs.html?qsvd=oc&searchkey=(.*) /Recherche.html?searchword=$1 [R=301,L]


No success. I have tried other rewriting methods as well...now i am a bit stuck because i do not have any precise idea on the rule to insert. Any help would be appreciated Thanks

g1smd

5:18 pm on Feb 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Someone else asked almost exactly the same question just 6 hours 9 minutes before yours: [webmasterworld.com...]