Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjørn Fridal 274 posts 784 karma points
    Oct 14, 2010 @ 09:45
    Bjørn Fridal
    0

    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

  • Paul Blair 466 posts 731 karma points
    Oct 14, 2010 @ 11:15
    Paul Blair
    1

    make sure you have

    <useDomainPrefixes>true</useDomainPrefixes>

    in your /config/umbracosettings.config file. That should stop this happening

  • Bjørn Fridal 274 posts 784 karma points
    Oct 14, 2010 @ 11:44
    Bjørn Fridal
    0

    Thank you very much Paul. That was indeed the solution.

    Best regards,
    Bjørn Fridal

Please Sign in or register to post replies

Write your reply to:

Draft