Prevent fall-through for website with multiple domains
Hello,
I just came a cross a little issue. I am not sure that you can categorice it as a bug, but in my situation it sort of is.
I have a website with multiple domains, one for each language. However even though they support different languages the node names remain the same. Therefore the URLs are also the same except for the domain name of course.
Now when I unpublish the products page in the danish site I don't get an error when I go to the URL. Instead I "fall-through" to the English prodcuts page. That is really not ideal in my situation (I can't think of a scenario where it is but nevermind that).
I now I can bypass this behavior if I were to add a language/country prefix to each website (eg. http://my-danish-website.aspx/da/products.aspx), but that is a measure of last resort for my client.
Prevent fall-through for website with multiple domains
Hello,
I just came a cross a little issue. I am not sure that you can categorice it as a bug, but in my situation it sort of is.
I have a website with multiple domains, one for each language. However even though they support different languages the node names remain the same. Therefore the URLs are also the same except for the domain name of course.
Example:
http://my-english-website.aspx/products.aspx
http://my-danish-website.aspx/products.aspx
Now when I unpublish the products page in the danish site I don't get an error when I go to the URL. Instead I "fall-through" to the English prodcuts page. That is really not ideal in my situation (I can't think of a scenario where it is but nevermind that).
I now I can bypass this behavior if I were to add a language/country prefix to each website (eg. http://my-danish-website.aspx/da/products.aspx), but that is a measure of last resort for my client.
Any good ideas or thoughts on the above?
Best regards,
Bjørn Fridal
make sure you have
<useDomainPrefixes>true</useDomainPrefixes>
in your /config/umbracosettings.config file. That should stop this happening
Thank you very much Paul. That was indeed the solution.
Best regards,
Bjørn Fridal
is working on a reply...