I have a website that actually has this URL when someone search anything
/search?searchword=KEYWORD&searchphrase=all
and i would like to redirect it to the new ones:
/newsearch?q=KEYWORD
basically, preserve the KEYWORD param and rewrite the URL
I've tried RewriteRule ^search?searchword(.*)$ /newsearch?q=$1 [L,QSA] but it doesn't work, nothing happens.
Thanks.