I have a site which needs to be setup as following:
- www.hostheader.com - contains pages for the uk - www.hostheader.com/usa - contains pages for the usa - www.hostheader.com/italy - contains pages for italy
Ideally in my content tree I'd like to have the following:
Content - UK Site - USA Site - Italy Site
Does anyone know whether it is possible to setup my site in this way? How would I add the hostheaders for these sites. At the moment I have it setup as:
Content - UK Site - USA Site - Italy Site
Where the USA and Italy sites are children of the UK site.
You should setup your site with each top level node as a diferent language. Don't make a language site a child of another language site :) If you make the UK-site the first node, Umbraco will uses www.hostheader.com as the UK site
Adding Virtual Directories in Umbraco
Hi
I have a site which needs to be setup as following:
- www.hostheader.com - contains pages for the uk
- www.hostheader.com/usa - contains pages for the usa
- www.hostheader.com/italy - contains pages for italy
Ideally in my content tree I'd like to have the following:
Content
- UK Site
- USA Site
- Italy Site
Does anyone know whether it is possible to setup my site in this way? How would I add the hostheaders for these sites. At the moment I have it setup as:
Content
- UK Site
- USA Site
- Italy Site
Where the USA and Italy sites are children of the UK site.
Thanks,
Aileen
You should setup your site with each top level node as a diferent language. Don't make a language site a child of another language site :) If you make the UK-site the first node, Umbraco will uses www.hostheader.com as the UK site
By managing domains you can add the hostheaders.
Thijs
But what if my hostheader is the same for all 3 sites?
Cheers
Aileen
If you use this structure you can access the site like this
Content
- UK => www.hostheader.com OR www.hostheader.com/uk
- USA => www.hosteader.com/usa
- Italy=> www.hostheader.com/italy
This is what you want to accomplish?
If you uses children you will have stuff like www.hostname.com/uk/italy ...
just use the 'manage hostnames' on the top nodes :)
Yeah - that's exactly what I want. I tried it and it didn't work but now it's working all of a sudden :) Thanks for your help!
Hi Thijs
I thought that this was working but unfortunately not. I'm just getting a 404 when I try to access the page. Any ideas?
Cheers
Aileen
Make sure that in your umbracoSettings.config the following line is present:
This post might also be helpful.
Hope this fixes your problem,
Thijs
hmmm - still no luck
I'm sorry then I don't know what the problem is.. I hope someone else read this post and can help you further..
Thijs
Thanks for your help anyway!
Aha - fixed it. I needed to do the following:
Glad you fixed it :)
is working on a reply...