Copied to clipboard

Flag this post as spam?

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


  • Alex Wilks 27 posts 56 karma points
    Jul 15, 2010 @ 13:49
    Alex Wilks
    0

    Site structure reflected in URLs

    In our website we have a structure as follows:

    |-Home
    |-Category-1
      |-Sub-category-2
      |-Sub-category-2
    |-Category-2
    |-About

    Because of this, when you view the page for Sub-category-1 the URL is www.url.com/sub-category-1.aspx and we want it to be www.url.com/category-1/sub-category-1.aspx

    I recognise why Umbraco structures URLs this way but surely there's a way to adjust it so the root nodes are shown in the URLs?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Jul 15, 2010 @ 13:52
    Per Ploug
    1

    You can turn this on in the web.config file located in the root of your site, it's under appsettings, called something like "HideTopLevelNodesInUrl" and should be set to false

    /per 

  • Alex Wilks 27 posts 56 karma points
    Jul 15, 2010 @ 14:22
    Alex Wilks
    0

    Brilliant, thank you very much. I'm sure I've seen it done before but couldn't remember for the life of me.

  • ConradoJr 13 posts 33 karma points
    Sep 14, 2010 @ 06:55
    ConradoJr
    0

    asd

Please Sign in or register to post replies

Write your reply to:

Draft