We've recently moved our e-commerce site to a new server and different software. I'm attempting to use Mod-Rewrite to do 301 Redirections for old URLs but I just can't get the hang of it.
Old Server was Apache...New Server is Windows Server 2003
We have Micronovae's IIS Mod-Rewrite Pro v3 installed on the new server.
Here's what we need (there are a few different scenarios):
--------
Base URL
Original URL:
http://domain.com/Merchant2/merchant.mvc
Should Redirect to:
http://domain.com/toyscart/pc/
-------
Content Pages
Orignal URL Example:
http://domain.com/Merchant2/merchant.mv ... _Code=RDTS
Should Redirect to:
http://domain.com/toyscart/pc/viewcontent.asp?idpage=6
(about 10 specifc URLs that need to Redirect to specific new URLS)
------
Product Categories
Original URL Example:
http://domain.com/Merchant2/merchant.mv ... _Code=SALE
Should Redirect to:
http://domain.com/toyscart/pc/viewCateg ... Category=3
(about 20 specific URLS that need to redirect)
-------
Product Pages
Original URL Example:
http://domain.com/Merchant2/merchant.mv ... y_Code=NEW
Should Redirect to:
http://domain.com/toyscart/pc/showsearc ... it=Search+
(grabbing the SKU from the original URL and using it to search the new site for that SKU)
Thanks in advance if anyone can help!