Probably overlooking something stupid. But I've create 2 sites, with domain1.com and domain2.com. But when i type domain2.com in my addressbar i keep getting domain1.com. I know this because all the link in the site start with domain1.com.
Node1, Culture and hostname settings has domain1.com Node2, Culture and hostname settings has domain2.com
I've done this before but not in in version 7. (7.1.6 to be exact)
Maybe one of you guys has a clue where to look at?
When you working with multilingual site in Umbraco then remember to set the useDomainPrefixes to true in the UmbracoSettings.config, in the config folder in your file system.
What is does is:
useDomainPrefixes: set if umbraco should include the page's domain name in the url. so generated urls will become www.domain.com/pagen/page2.aspx instead of just /pagen/page2.aspx. Usually only used when running multiple sites in the same umbraco installation.
Maybe you need to recycle site and application pool in the IIS, before it takes place.
Tnx for taking the time to help me. Already did that and did a couple of site restarts, still no luck
<requestHandler> <!-- this will ensure that urls are unique when running with multiple root nodes --> <useDomainPrefixes>true</useDomainPrefixes> <!-- this will add a trailing slash (/) to urls when in directory url mode --> <addTrailingSlash>true</addTrailingSlash> </requestHandler>
I use dictionary items in my template and they're still showing the dutch version instead of the english version, Which to me is an indication it's still processing node 1 instead of node .
Will continue to find out what i forgot or did wrong. Any other suggestions?
And you have added the site in the bindings in the IIS, and set the domain2.com site in your host file too. I assume here that it´s two different domains, and not just domain.com/en and domain.com/nl
This is what I can think of right now that should be done.
Yep, did that, if not I would nog get to site at all.
So far the stuff I checked -useDomainPrefixes -Node1 and node2 have correct cultures and hostnames -Node1 and node2 point to the homepage (umbracoInternalRedirect) -Caching in Partials, maybe they somehow cache crosssite
Strange thing is: If I change the sortorder of the two nodes I suddenly get Node2. That might be a clue
Trouble setting up multisite
Hi all,
Probably overlooking something stupid. But I've create 2 sites, with domain1.com and domain2.com. But when i type domain2.com in my addressbar i keep getting domain1.com. I know this because all the link in the site start with domain1.com.
Node1, Culture and hostname settings has domain1.com
Node2, Culture and hostname settings has domain2.com
I've done this before but not in in version 7. (7.1.6 to be exact)
Maybe one of you guys has a clue where to look at?
---
Garret
Hi Garret,
When you working with multilingual site in Umbraco then remember to set the useDomainPrefixes to true in the UmbracoSettings.config, in the config folder in your file system.
What is does is:
useDomainPrefixes: set if umbraco should include the page's domain name in the url. so generated urls will become www.domain.com/pagen/page2.aspx instead of just /pagen/page2.aspx. Usually only used when running multiple sites in the same umbraco installation.
Maybe you need to recycle site and application pool in the IIS, before it takes place.
Hope this helps,
/Dennis
Hi Dennis,
Tnx for taking the time to help me. Already did that and did a couple of site restarts, still no luck
I use dictionary items in my template and they're still showing the dutch version instead of the english version, Which to me is an indication it's still processing node 1 instead of node .
Will continue to find out what i forgot or did wrong. Any other suggestions?
Hi Garret,
And you have added the site in the bindings in the IIS, and set the domain2.com site in your host file too. I assume here that it´s two different domains, and not just domain.com/en and domain.com/nl
This is what I can think of right now that should be done.
Hope this helps,
/Dennis
Hi Dennis,
Yep, did that, if not I would nog get to site at all.
So far the stuff I checked
-useDomainPrefixes
-Node1 and node2 have correct cultures and hostnames
-Node1 and node2 point to the homepage (umbracoInternalRedirect)
-Caching in Partials, maybe they somehow cache crosssite
Strange thing is: If I change the sortorder of the two nodes I suddenly get Node2. That might be a clue
--
Garret
is working on a reply...