Link to home
Start Free TrialLog in
Avatar of publicworks
publicworks

asked on

ISA wildcard redirect rule

We have a site that has had an identity change so www.abc.com is now www.xyz.com. The underlying content and directory structure are unchanged. We have a redirection rule in place but it redirects all requests to the root of www.xyz.com. If someone requests www.abc.com/somedir/someotherdir from a bookmark we need it to redirect to www.xyz.com/somedir/someotherdir. I know this can be done per directory and a rule would be needed for each. Is there a way to redirect www.abc.com/* to www.xyz.com/* so that no matter what is requested by the client it will redirect and work given that the site content directory structure is unchanged.
Avatar of pwindell
pwindell
Flag of United States of America image

Forget about "redirection".

Create two separate Publishing Rules.

One for www.abc.com the sends to the destination of www.xyz.com

One for www.xyz.com the sends to the destination of www.xyz.com

This will work with HTTP,...but HTTPS would be a problem.
Avatar of publicworks
publicworks

ASKER

Thanks for the response. This is very close. It works but is there a way to make www.xyz.co appear in the address field iof the browser nstead of www.abc.com? Also, the www.xyz.com site is not hosed locally.
ASKER CERTIFIED SOLUTION
Avatar of pwindell
pwindell
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
Good