I have lot of categories, and every category has its own search.
for example:
- Code: Select all
category1.html?search=...
category2.html?search=...
category3.html?search=...
i have changed that and right now it is:
- Code: Select all
category1.html?s=...
category2.html?s=...
category3.html?s=...
I tried this:
- Code: Select all
Redirect 301 categoryX.html?search=(.*)$ http://www.mysite.com/categoryX.html?s=$1
and it's not working...
Ideally I would need something like this:
[code]
Redirect 301 (.*).html?search=(.*)$ $1.html?s=$2
[code]
How can I make such redirection?
P.S.
My real category names are not really category1, category2, they have real names... so category([0-9]) wont work for me...