Multiple multi-lingual websites under a single domain authority
Following a client request I'm looking at the possiblity of hosting multiple multi-lingual Umbraco websites under a single domain authority.
Below is the current websites setup, corporation.com and brand.com are single Umbraco installations.
corporation.com/en-gb
corporation.com/en-us
brand.com/en-gb
brand.com/en-us
Below is the request the client has made to how they would like the websites to be hosted under a single domain authority.
corporation.com/en-gb
corporation.com/en-us
corporation.com/brand/en-gb
corporation.com/brand/en-us
I've been playing around with having the brand website setup up as a virtual directory without any luck.
corporation.com
App_Browsers
App_Data
App_Plugins
bin
brand (virtual directory)
Config
Media
Umbraco
Umbraco_Client
views
And I get the following error
It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.
Converting it to a virtual application, I get the following error
Cannot add duplicate collection entry of type 'add' with unique key
attribute 'name' set to 'ImageProcessorModule'
And I've also tried having the brand website as a reservedPath in web.config, i.e.
corporation.com
App_Browsers
App_Data
App_Plugins
bin
brand (reservedPath in web.config)
Config
Media
Umbraco
Umbraco_Client
views
If you 'right click' the top level Umbraco item in your content tree and choose 'Cultures and Hostnames'. you'll see you have the option to specify a domain and culture for this part of the Umbraco tree.
So it's possible to have multiple sites defined in the Umbraco content tree with different URLs, Umbraco will map the requests to your correct site content.
There are a few ways to tackle your setup, but one way would be to create:
Corporation Site (Site Homepage)
en-gb (Site Language Homepage)
en-us (Site Language Homepage)
Brand (Brand Site Landing Page)
en-gb (Brand Site Language Page)
en-us (Brand Site Language Page)
Creating actual content pages under relevant Language page...
This would generate the urls you are after (you can add a property called umbracoUrlName, and change the portion of the Url for the particular page in your tree)
At the moment the websites are built in separate Umbraco installations so I would need to bring all the content over and a slight restructure but your approach of bringing all the websites into one Umbraco installation is definitely an option.
Multiple multi-lingual websites under a single domain authority
Following a client request I'm looking at the possiblity of hosting multiple multi-lingual Umbraco websites under a single domain authority.
Below is the current websites setup, corporation.com and brand.com are single Umbraco installations.
Below is the request the client has made to how they would like the websites to be hosted under a single domain authority.
I've been playing around with having the brand website setup up as a virtual directory without any luck.
And I get the following error
Converting it to a virtual application, I get the following error
And I've also tried having the brand website as a reservedPath in web.config, i.e.
I'd really appreciate any suggestions.
Hi Sean
If you 'right click' the top level Umbraco item in your content tree and choose 'Cultures and Hostnames'. you'll see you have the option to specify a domain and culture for this part of the Umbraco tree.
So it's possible to have multiple sites defined in the Umbraco content tree with different URLs, Umbraco will map the requests to your correct site content.
There are a few ways to tackle your setup, but one way would be to create:
Creating actual content pages under relevant Language page...
This would generate the urls you are after (you can add a property called umbracoUrlName, and change the portion of the Url for the particular page in your tree)
... if that makes sense?
regards
Marc
Hi Marc
Thanks for your suggestion.
At the moment the websites are built in separate Umbraco installations so I would need to bring all the content over and a slight restructure but your approach of bringing all the websites into one Umbraco installation is definitely an option.
is working on a reply...