I have a set of themes for my website, which are to be used with different requests from different urls. So if the url = www.xyz.com I load a different theme, as opposed to www.abc.com.
However, I have tried having a theme called www.abc.com and a theme called abc.com, and in my webform codebehind I have a preinit page event which says if url.contains(abc.com), then load theme abc.com, if url.contains(www.abc.com), then load theme www.abc.com (valid theme).
Starting from the beginning again, what is the best way to have and call a theme depending on whether the url has www. or not, but the same host. So how can I have seperate themes for abc.com and www.abc.com, and then load the latter when the url is www.abc.com and the former when the url, is obviously, abc.com?
Thanks