Copied to clipboard

Flag this post as spam?

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


  • nojaf 91 posts 300 karma points
    Mar 17, 2014 @ 22:56
    nojaf
    0

    Root contenttype with no template gets '/'

    I'm have the following structure of documents:

    . root

    .. homepage

    .. about

    .. contact

    The root content type has no template but gets the '/' url. Where homepage does have a template and get's the '/home' url. How can I change this that the root document isn't shown and the homepage gets the '/'.

    Any ideas?

  • Dan Lister 416 posts 1974 karma points c-trib
    Mar 17, 2014 @ 23:35
    Dan Lister
    0

    I'm not sure if it's related but what have you got the following app setting in web.config set to? If I understand the meaning of the app setting correctly, to get the behaviour you have, it sounds like its false when it should be true.

     key="umbracoHideTopLevelNodeFromPath" value="true" />
  • nojaf 91 posts 300 karma points
    Mar 18, 2014 @ 00:04
    nojaf
    0

    It's true, I've double checked it.

    I did change the order of the children of root so that homepage would be the first child. Could that have had any impact?

  • Charles Afford 1163 posts 1709 karma points
    Mar 22, 2014 @ 15:15
    Charles Afford
    0

    Hi Nojaf.

    Could you just do a 301 redirect.  No sure if thst helps but the only way i can think of doing it as that content is always going to try and render.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies