Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1535 karma points
    Apr 14, 2010 @ 11:15
    Petr Snobelt
    0

    Unique url for 3rd level domains

    Hi, I have following setup in one umbraco:

    www.example.com
      - pages
        - page1

    sk.example.com
      - directory
        - skpage

     

    but user is able to access url like this: www.example.com/directory/skpage which isn't what I want to allow, because I have some language settings on roots which can't be mixed. Is there any settings which can help me?

    Thanks a lot.

    Petr

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

    You can set your useDomainPrefixes in the UmbracoSettings.config to true.

  • Petr Snobelt 923 posts 1535 karma points
    Apr 14, 2010 @ 23:29
    Petr Snobelt
    0

    Thanks Sebastian,

    I look at wiki but it looks like information about this settings isn't complete in wiki.

     

    Petr

  • Connie DeCinko 931 posts 1160 karma points
    Mar 28, 2011 @ 17:37
    Connie DeCinko
    0

    Sebastian, that does not address the issue with third level and lower.

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 29, 2011 @ 08:07
    Sebastiaan Janssen
    0

    @Connie it should, if you set domain names on the first level nodes to clearly seperate them from each other.

     

  • Connie DeCinko 931 posts 1160 karma points
    Mar 29, 2011 @ 16:49
    Connie DeCinko
    0

    Due to a bug in the core of Umbraco, it does not.  Anything below the second leve, third level and lower is not being handled correctly.  The XML is only being traversed one level up from the current page rather than all the way to the top as it should.  This is a confirmed bug that apparently was fixed but no one will tell us if there is a patch or if we must upgrade to 4.6 or 4.7 to get the update.

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 29, 2011 @ 16:56
    Sebastiaan Janssen
    0

    Weird, I am running a site in umbraco 4.0.4.2 and when I go to: "site1.com/panoramas/a/amuse" it gives me a nice content page

    If I go to "anothersite.com/panoramas/a/amuse" it gives me a 404.

    These are both sites in the same install.

    Something springs to mind though, do you have a property umbracoRedirect on level 1? I believe this caused a problem like that. The solution would be to change it to umbracoInternalRedirectId instead see this blogpost for a more detailed way of setting up (multi)sites.

  • Connie DeCinko 931 posts 1160 karma points
    Mar 29, 2011 @ 17:12
    Connie DeCinko
    0

    From CodePlex:  "The problem was caused by the code only checking ParentNode of the current node for a domain, which works fine at a depth of 1, but any lower and it broke. The patch simply walks up the tree looking for a domain. It also fixes a caching problem I encountered when nodes were cached from a different domain by using the current domain name and nodeId as the cache key instead of just the nodeId."

    http://umbraco.codeplex.com/workitem/25975

    This is for NiceURL but it's all related.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 29, 2011 @ 18:11
    Sebastiaan Janssen
    0

    If I read this correctly, the problem only occurs when someone links to a different site within the multisite solution?

    This is not a problem for my sites as I only let backend users log into one site at a time and they can only see the tree of the current site when selecting links.

    By the way, the patches are attached to the issue, right above your comment. Is there any way you can upgrade to 4.7? That would be better than creating a custom build of Umbraco IMHO.

  • Connie DeCinko 931 posts 1160 karma points
    Mar 29, 2011 @ 18:21
    Connie DeCinko
    0

    My multi-site solution is kinda like different languages, accept in our case, it's a public area and a members area that the public can also see.  We want the member pages to only be accessible via the member domain name and vice versa.  We are fearful of Google dinging us for duplicate content.

    I would love to just jump to 4.7 but fear having to make any template, data type, etc. mods right before the site goes live.  I plan to test an upgrade, hopefully later today.  I haven't seen any upgrade horror stories yet, have you?

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 29, 2011 @ 19:08
    Sebastiaan Janssen
    0

    I've recently upgraded a site from 4.0 to 4.7 and it went fine. Just make sure to follow the instructions about the config changes in 4.7, that's very important.

  • Connie DeCinko 931 posts 1160 karma points
    Mar 31, 2011 @ 17:22
    Connie DeCinko
    0

    I also found a couple gotchas that are not in the upgrade documentation, otherwise my test upgrade went smoothly.

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 31, 2011 @ 17:37
    Sebastiaan Janssen
    0

    Cool, would be good to know what the gotchas are though!

Please Sign in or register to post replies

Write your reply to:

Draft