Link to home
Start Free TrialLog in
Avatar of isaacr25
isaacr25

asked on

Redirect all pages to one specific page

I would like to implement a redirect on my website. If any request is made for any variation of www.domain-name.com, I want to redirect to store.domain-name.com. However, I don't want the cart and store pages to redirect, since I want to keep a functioning cart.

So in essence, I want to redirect all page requests, except for store.domain-name.com/cart and a few more url's.

I was thinking that modifying the existing htaccess file would be the easiest route, but I don't know what code I would need.

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
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