Copied to clipboard

Flag this post as spam?

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


  • Gibran Shah 69 posts 240 karma points
    Feb 10, 2019 @ 20:06
    Gibran Shah
    0

    Why sub-pages?

    Hello,

    I'm going through the built-in tutorial that gets shipped with Umbraco. Slide 4 of 12 of "The Content Section" shows how the website consists of the Home page and several pages under that:

    enter image description here

    But on the website itself, it just looks like a series of pages:

    enter image description here

    Why are all the pages considered "sub-pages" of the home page?

  • Tarik 196 posts 840 karma points c-trib
    Feb 10, 2019 @ 22:40
    Tarik
    0

    Gibran, the navigation tree is built in hierarchy so in case you create a page outside the home page tree it's url will be under home url which is the root (/) i.e page people url is /people under root.

    I see that why having is ok for me in case you have many websites otherwise I choose to avoid it.

  • Gibran Shah 69 posts 240 karma points
    Feb 12, 2019 @ 04:55
    Gibran Shah
    0

    Hmmm... let's see if I understand.

    If I click on home, the url is:

    http://localhost:63776/

    If I click on people, the url is:

    http://localhost:63776/people/

    What would the url look like if I put people at the same level as home?

  • Tarik 196 posts 840 karma points c-trib
    Feb 12, 2019 @ 08:48
    Tarik
    2

    Yes, Gibran

    The same url http://localhost:63776/people/ unless you change the domain as mentioned in this answer.

    See the following scenario:

    1.Child page sample url. enter image description here 2.Remove child page and create one on the root. enter image description here 3.Conflict when having same content name one on the root and other as child page. enter image description here

  • Gibran Shah 69 posts 240 karma points
    Feb 13, 2019 @ 02:20
    Gibran Shah
    0

    Thanks for the detailed explanation. It makes total sense.

  • Tarik 196 posts 840 karma points c-trib
    Feb 13, 2019 @ 07:15
    Tarik
    0

    Gibran, don't forget to select an answer.

Please Sign in or register to post replies

Write your reply to:

Draft