Copied to clipboard

Flag this post as spam?

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


  • Haansi 51 posts 150 karma points
    Dec 08, 2014 @ 01:12
    Haansi
    0

    How to create a content on root ?

    I m creating a content in Umbraco it is first and the only content in application. Its Url come under a directory like http://localhost:50656/home/ I want to create it as a root content just coming with URL http://localhost:50656/

    My document type properties are as below:

    1. Allow at root: True
    2. Enable list view: True
    3. Allowed child node types Content Home Landing

    Please guide and help.

    thanks

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 08, 2014 @ 05:59
    Jan Skovgaard
    0

    Hi Haansi

    What does your content structure look like?

    If it's setup like this

    Home - Page - Page - Page - Etc.

    Then it should actually just do it out of the box since the umbracoHideTopLevelNodeFromPath key in the web.config should be set to "true" by default, which will ensure that the first level content node is not shown in the path. If for some reason it has been set to false then you should change it to true of course.

    Hope this helps.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft