Copied to clipboard

Flag this post as spam?

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


  • psiho 101 posts 96 karma points
    Jun 15, 2010 @ 11:45
    psiho
    0

    accessing pages of another domain through wrong domain

    Hi,

    we just publsihed one of our Umbraco projects live (v4.0.2.1). It is a corporate website on 3 langueges, each language on its own domain: www.mplus.hr, www.mplus.nl and www.mplus.net. Structure is like this:

    - www.mplus.net
    -- about-mplus.aspx
    -- ...

    - www.mplus.nl
    -- over-mplus.aspx
    -- ...

    - www.mplus.hr
    -- o-nama.aspx
    -- ...

    Problem is that we can access any page from any domain. I.e. any of those work:
    www.mplus.net/over-mplus.aspx (which gives us a mix of english template and dutch content)
    www.mplus.net/o-nama.aspx (which gives us a mix of english template and croatian content)

    This creates probelms with Google indexing site and duplicate content. is there any way to disable this behavior?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Jun 15, 2010 @ 19:14
    Sebastiaan Janssen
    0

    You should probably set "useDomainPrefixes" to true in your /config/umbracoSettings.config

  • psiho 101 posts 96 karma points
    Jun 16, 2010 @ 11:28
    psiho
    0

    Thx. I don't know how I forgot about this I was using it before.

  • Julius Bartkus 51 posts 76 karma points
    Jul 19, 2010 @ 08:04
    Julius Bartkus
    0

    in 4.0.3 I was using useDomainPrefixes and it worked fine, but in 4.5 for some reason it does not generate unique domains anymore.

    Does anyone have the same issue?

Please Sign in or register to post replies

Write your reply to:

Draft