I have one umbraco with multiple sites. Each site has its own culture/host name set individually within umbraco.
So i have
www.WebsiteOne.com under site 1
www.WebSiteTwo.com under site 2
etc
Is it possible when someone types in WebsiteOne.com it redirects to www.websiteone.com and when they type websiteTwo.com it redirects to www.websitetwo.com? (not case sensitive, just a habit)
Redirect Sites
I have one umbraco with multiple sites. Each site has its own culture/host name set individually within umbraco.
So i have
www.WebsiteOne.com under site 1
www.WebSiteTwo.com under site 2
etc
Is it possible when someone types in WebsiteOne.com it redirects to www.websiteone.com and when they type websiteTwo.com it redirects to www.websitetwo.com? (not case sensitive, just a habit)
Hi J,
This can be configured via IIS (itself) OR you can do it by editing the web.config directly.
See the following blog post on Scott Forsyth's blog (quite old now, but should do the job for you).
IIS URL Rewrite – rewriting non-www to www
Let me know how you get on.
Craig
Hi,
You could redirect them at the top of your template (master if youre using one)
The following code should work, although doing this through IIS as Craig suggested would work better.
This will just redirect to the page you provide everytime the template is loaded.
Thanks, Lewis
is working on a reply...