Copied to clipboard

Flag this post as spam?

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


  • Nicolas 26 posts 46 karma points
    Sep 23, 2011 @ 19:45
    Nicolas
    0

    DocumentType only for section (no page) : best practice?

    Hello,

    I know how to do what I want to do. But I'm asking here in case somebody can give a better practice to do this. Here the structure of my website :

    -home
    --Products
    --About
    ---Item 1
    ---Item 2
    ---Item 3

    So, I want all those page to be accessible, except for "About". In my website, I want a menu with "home", "Products" and "About". But when you click on "About", I want this to go on "Item 1", with the following URL "/about/item1".

    Of course, I know I can hardcode all this. But before doing it, I'll like to know if there's a better way to achive this.

    Thank you in advance!

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Sep 26, 2011 @ 01:25
    Lee Kelleher
    0

    Hi Nicolas,

    I see no problem in taking this approach, I have done this with several websites. Makes sense with structuring the content.

    As for redirecting the 'About' page, there are few ways to do this - you could write some logic in a masterpage template to redirect to the first child node? or use the "umbracoInternalRedirectId" property (associated with a content picker) to select which node it would redirect to?

    Cheers, Lee.

  • Nicolas 26 posts 46 karma points
    Sep 27, 2011 @ 17:33
    Nicolas
    0

    Thank you very much!

Please Sign in or register to post replies

Write your reply to:

Draft