Redirecting Non-www to Domain Equivalent
Posted by: Scott Forsyths WebLog,
on 05 Jan 2012 |
View original | Bookmarked: 0 time(s)
A question came up on a blog post of mine on how to redirect a domain name that doesnt have www in it while retaining the original domain name. Basically, to have a generic redirect to add on a www if its not already there. For example, how could you have something.com always redirect to www.something.com where something could be any of a number of domain names that you manage. This is fully possible with URL Rewrite. Heres what the config looks like. If you want a full walkthrough...