Copied to clipboard

Flag this post as spam?

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


  • Allan49 35 posts 55 karma points
    Nov 01, 2011 @ 18:38
    Allan49
    0

    How to make a page the root ~/ url?

    Hi,

    I have a series of contents as direct child of my umbraco site root and all of them has url format like "~/PageName.aspx".

    How can I make one of them becomes the home root means the url is “~/”?

    Thank you,

  • Mr A 216 posts 278 karma points
    Nov 01, 2011 @ 18:50
    Mr A
    0

    Use content picker Data type which can be used to select any page as a Homepage.

  • Allan49 35 posts 55 karma points
    Nov 01, 2011 @ 19:35
    Allan49
    0

    Hi Mr A,

    Sorry, I can't follow the direction you gave me. Could you tell me where and how do I apply the content picker?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 01, 2011 @ 19:38
    Tom Fulton
    0

    By default Umbraco should use your first node, ie the one directly under "Content" as your home page and automatically make the URL "/".  I don't believe there's a built-in way to change this, other than assigning hostnames.  Most typically have the first node as their Home page and have child nodes beneath or outside of it.

    -Tom

  • Mr A 216 posts 278 karma points
    Nov 02, 2011 @ 11:00
    Mr A
    0

    Tom is right about the homepage , On the rootnode in the backhand you can set a property Homepage Selecter which will use the data type content picker which can be used to select a homepage, for instance if you want the news node to be your homepage you just have to simple select the news node in the content picker . Is that you are looking for?

  • Allan49 35 posts 55 karma points
    Nov 02, 2011 @ 15:07
    Allan49
    0

    Hi Mr A,

    I am really trying to understand the technique you are describing. Here are the steps I took:

    1. Installed Business Started kit
    2. Go to property of the root node “Business site”
    3. Note that the document type is “Homepage”
    4. Go to document type “Homepgae” definition
    5. Add a new property “HomepageSelecter” to the “Homepgae” document type
    6. Set the data type of HomepageSelecter to “Content Picker”
    7. Go back to the properties of the root node “Business site”
    8. Choose “Contact us” as the value of “HomepageSelecter”

    NOTHING HAPPENS!!!!

    Is adding the new property supposed to change or do something?

    Thank you for help,

  • Mr A 216 posts 278 karma points
    Nov 02, 2011 @ 15:21
  • Allan49 35 posts 55 karma points
    Nov 02, 2011 @ 16:10
    Allan49
    0

    Mr A,

    Now I get it. Thank you very much.

    I had no idea there is "umbracoInternalRedirectId" propery.

    Is there any list of usefull "umbracoInternal" properties?

    Thank you very much for help

     

  • Rich Green 2246 posts 4008 karma points
    Nov 02, 2011 @ 16:12
    Rich Green
    0

    Hey Allan,

    They are listed on the right hand side of the wiki page here http://our.umbraco.org/wiki/reference/umbraco-best-practices

    Rich

  • Mr A 216 posts 278 karma points
    Nov 02, 2011 @ 16:20
    Mr A
    0

    Glad to hear you figure it out. Mark it as answer for future reference.

  • Allan49 35 posts 55 karma points
    Nov 02, 2011 @ 16:56
    Allan49
    0

    Mr A, I've already marked it as answer. Can I mark two posts as answer?

  • Mr A 216 posts 278 karma points
    Nov 02, 2011 @ 17:55
    Mr A
    0

    Thats fine , i didnt saw that .. No you cant mark 2 post as answer but you can give a hive five point . Cheers

Please Sign in or register to post replies

Write your reply to:

Draft