Hello,
I have an old urls that i want to transfer to homepage. :
http://www.mysite.com/Recherche.html?searchword=dummy+key
what i did and it's working (however i would be curious to know the proper way...)
if ($arg_searchword) {
rewrite ^ $uri? permanent;
}
rewrite ^/Recherche.html http://www.mysiter.com/ permanent;
Can i make this in one shot ? to redirect such URL ? Here it is done two steps.
Tahnks and regards.
Yaz