cdakz
asked on
301 redir pattern using IIS 8
I'm replacing an old website, but want to preserve the Google ranking of the old product pages as much as possible, so need to implement 301 permanent redirects for a few hundred product pages.
The URLs generally follow a pattern. I'm not up to speed on the new rewrite features of IIS 7/8. I believe that there is a way to either implement a pattern using wildcards OR regular expressions.
Can somebody please point me to the best way to do this using IIS 8?
Here's an example of the product pages that need to be rewritten:
The new site is running on IIS 8The URLs generally follow a pattern. I'm not up to speed on the new rewrite features of IIS 7/8. I believe that there is a way to either implement a pattern using wildcards OR regular expressions.
Can somebody please point me to the best way to do this using IIS 8?
Here's an example of the product pages that need to be rewritten:
ORIGINAL URI NEW URI
OriginalDomain/Widget-Category/Undercover__UNDERCOVER.aspx NewDomain/gadget-category/undercover
OriginalDomain/Widget-Category/Arrow__ARROW.aspx NewDomain/gadget-category/arrow
OriginalDomain/Widget-Category/Dodger__DODGER.aspx NewDomain/gadget-category/dodger
OriginalDomain/Widget-Category/Small-Kona-SET__SMALLKONASET.aspx NewDomain/gadget-category/small-kona-set
OriginalDomain/Widget-Category/Kona__KONA.aspx NewDomain/gadget-category/kona
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I guess what I'm saying is that I'm looking for a way to do this in a .config file.