I have some old product pages showing up in search for a redesigned site.
The old pages are like this: www.site.com/mycart/index.php?act=viewProd&productId=34
I have static pages that I want these to go to.
so I want
redirect 301 /mycart/index.php?act=viewProd&productId=34 http://www.site.com/prod-name1
I know I can't do this with "redirect 301" since it is not a static page.
I would like to know the best way to approach this.
I will need to have a rule for each redirect since there is no correlation between old structure and new pages.
would it be possible maybe to just match on productId=34
RewriteRule [url contains productId=34] http://www.site.com/prod-name1? [R=301, L]
If that would be a valid solution, how would I go about matching on "productId=34".
Any help would be appreciated.