Link to home
Start Free TrialLog in
Avatar of cdakz
cdakzFlag for United States of America

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.

Open in new window

The new site is running on IIS 8

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:
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

Open in new window

Avatar of cdakz
cdakz
Flag of United States of America image

ASKER

Forgot to add this this site is running on a remote, shared server, so I don't have access to the IIS MMC Console, which I see can be used to generate rules on-the-fly.

I guess what I'm saying is that I'm looking for a way to do this in a .config file.
ASKER CERTIFIED SOLUTION
Avatar of Terry Woods
Terry Woods
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial