Copied to clipboard

Flag this post as spam?

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


  • trfletch 595 posts 571 karma points
    Apr 16, 2010 @ 11:44
    trfletch
    0

    Using Manage Hostnames with same name pages

    Hi,

    I have an Umbraco 4.0.3 site and I want to have two different sections that have two different URL's. I have the following site structure:

    www
           - Testpage1
           - Testpage2
           - Testpage3

    test
           - Testpage1
           - Testpage4
           - Testpage5

    I want the pages under the "www" folder to be accessible using www.mywebsiteurl.com and the pages under the "test" folder to be accessible using test.mywebsiteurl.com. From my understand I can select Manage hostnames on the www and test nodes and add the relevant addresses but this seems to make it so that I could go to www.mywebsiteurl.com/testpage4 and access a page from the test section? Is this how it is supposed to work and does this then mean that I will have a problem if I have two pages in the different sites with the same name like Testpage1?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 16, 2010 @ 11:59
    Dirk De Grave
    0

    Set useDomainPrefixes to true in umbracoSettings.config should fix it

    <useDomainPrefixes>true</useDomainPrefixes>

    Cheers,

    /Dirk

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies