Copied to clipboard

Flag this post as spam?

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


  • Nicolai Sørensen 42 posts 66 karma points
    Oct 03, 2010 @ 10:05
    Nicolai Sørensen
    0

    Alternative url to subpages

    I was wondering if it is possible to get umbraco do the following:

    Link is now: http:<myhost>/<container>/<subpage>

    Then remove the <container> from the url and instead work as:

    Link is now: http:<myhost>/<subpage>, but still have the same setup in the nodes

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 03, 2010 @ 13:30
    Dirk De Grave
    0

    Hi Nicolai,

    Look for this settings in web.config and set the value to true 

    <add key="umbracoHideTopLevelNodeFromPath" value="true" />

     

    Hope this helps.

    Regards,

    /Dirk

     

  • Nicolai Sørensen 42 posts 66 karma points
    Oct 03, 2010 @ 13:37
    Nicolai Sørensen
    0

    Thx Dirk for your reply.

    As I was googling too for a solution "umbracoUrlAlias" turned up, which also became the solutions for my problem.

    My solution:
    I added a textstring with alias "umbracoUrlAlias".
    On each page I can now specify exaclty what path and/or name I want it to be found at.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 03, 2010 @ 13:41
    Dirk De Grave
    0

    Yup, that was the other solution which I forgot to tell ya about, but glad you got it first, makes you feel better having found and implemented the solution yourself, doesn't it?

     

    Cheers,

    /Dirk

  • Nicolai Sørensen 42 posts 66 karma points
    Oct 03, 2010 @ 14:11
    Nicolai Sørensen
    0

    Absolutely! Haven't been working very long with umbraco and have been php-man for over 10 years. Gotta say Umbraco is making me read up on things I layed to rest for a long time ago, and I'm enjoying working with such a pro websolution.

Please Sign in or register to post replies

Write your reply to:

Draft