Copied to clipboard

Flag this post as spam?

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


  • Jesper Kragh 4 posts 24 karma points
    Feb 02, 2011 @ 11:08
    Jesper Kragh
    0

    Folders and Paths

    Hi,

    My site structure looks af follows:

    Content
    startpage (choosing branch: New York or London)
    NewYork
    Frontpage
    Products
    Product1
    Produkt2
    London
    Frontpage
    Products
    Product3
    Produkt4



    With setting the umbracoHideTopLevelNodeFromPath = false

    I can make it work like folders and reach the frontpages by saying: 
    /NewYork/Frontpage.aspx 

    But is the the right way to do it? I mean there must be a reason why umbracoHideTopLevelNodeFromPath  is set to True by default

     

    But if I set umbracoHideTopLevelNodeFromPath = true

    There's two Frontpage.aspx in the root i I don't know how to link to one or the other from the startpage.

    How would you do it?

     

     

  • Seth Niemuth 275 posts 397 karma points
    Feb 02, 2011 @ 12:11
    Seth Niemuth
    1

    Usually, I would have it like this:

     

    Content
    startpage (choosing branch: New York or London)
    NewYork
    Frontpage
    Products
    Product1
    Produkt2
    London
    Frontpage
    Products
    Product3
    Produkt4

    With NewYork and London under the startpage and then if you have HideTopLevelNodeFromPath = true, you can get to the New York FrontPage by this:

    /NewYork/Frontpage.aspx

    London:

    /London/Frontpage.aspx

    and the startpage is simply at '/' (or /startpage.aspx).



  • Jesper Kragh 4 posts 24 karma points
    Feb 02, 2011 @ 13:51
    Jesper Kragh
    0

    Thanks! Just how I need it..

Please Sign in or register to post replies

Write your reply to:

Draft