Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm hoping this is some sort of picnic* problem.
I have a multi-domain Umbraco 18.104.22.168 instance setup with two separate content trees. One tree is the English version, the other is Dutch.
This works, basically ... except.
http://domain.com/nederlands.aspx works (and shouldn't - different content tree), as does http://domain.nl/english.aspx.
Is there anyone that could shed some light on why this is happening please?
Initially there was only one content tree, attached to the .com domain and serving Dutch content. When the English version was created, I copied the main tree, and moved the .com hostname to that tree. Then on the initial tree I added the .nl hostname. I've republished etc but to no avail. There is something here that I'm missing...
Thanks for any help,James T
*problem in chair, not in computer
Have you set the hostnames for domain.nl and domain.com correctly on the root of those sites?
To do this, right-click domain.nl/com and choose Manage Hostnames.
Also, make sure to republish each root node (domain.nl and domain.com nodes in your case). And, do a 'Republish entire site' on the 'Content' node to make sure cached xml gets refreshed.
Also very important, set this setting in config\umbracoSettings.config.This will make sure that the /english.aspx url is only linked to your english URL, and not to the other one(s)!
Many thanks to all who replied here; I didn't check the thread again, thinking that I'd get an email notification: I'm sorry for my lack of response.
To answer your (quite pertinent) questions:
I shouldn't write from memory, particularly when it was more than a month ago.
I have no idea whether useDomainPrefixes was true or false: it's now false, so it probably would have been then too.
I'm now using umbracoHideTopLevelNodeFromPath=false to serve different content from the same domain, not useDomainPrefixes as I erroneously state above (grr).
Strangely enough, I get a 404 in the current setup when I try to access items from the other content tree, regardless of the fact that useDomainPrefixes setting is still false.
However, on another site that is still using multiple domains, I could reproduce my original problem. I set useDomainPrefixes to true and it went away.
Thanks to Gerben for the fix and to Dirk and Sebastiaan for their help!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted