Bob_10976
Jan 23, 2012Nimbostratus
Limiting WWW redirect to just WWW
Hello all...
We have an irule in place that redirects www.domain.com to non domain.com version. This seems to work fine with one exception. If the end user goes to www.domain.com/blog then they are redirected back to the home site of domain.com. What I'd like to do is when someone goes to www.domain.com/blog (or / whatever) that the www remains in place, but if they go to the root of the site, www.domain.com that they end up at domain.com.
Below is the what we currently use, any suggestions on how I can modifiy this?
www.domain.com {
HTTP::respond 301 Location http://domain.com
}
Thanks,
Bob