Link to home
Start Free TrialLog in
Avatar of ncomper
ncomper

asked on

Redirecting all links below a subfolder IIS7

Hi all,

I'm having an issue applying a redirect on IIS7, Windows Server 2008 R2.

I need every link after a certain subfolder to redirect to a different domain with the same folder structure.

example:

www.exampleolddomain.com/sub-folder/example1

to redirect to

www.newdomain.com/sub-folder/example1

and

example:

www.exampleolddomain.com/sub-folder/example2

to redirect to

www.newdomain.com/sub-folder/example2

etc.

I need one redirect to to cover any and all sub-subfolders, I assume with some kind of wildcard?

I have tried switches

$V and $P without success, but not 100% sure I applied them correctly.

Any help and/or successful examples would be gratefully appreciated.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America 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