Copied to clipboard

Flag this post as spam?

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


  • shufflemoomin 37 posts 36 karma points
    Aug 20, 2009 @ 12:22
    shufflemoomin
    0

    umbracoRedirect?

    Hi Everyone,

    I had a site running in Umbraco 3 that used an umbracoRedirect property. In version 3, the URL was shown like this: www.home.com/english/page.aspx but now on version 4 the URL is being shown as www.home.com/page.aspx, even though it is still under a node called 'english'. This throws off any hard coded urls. Is there any way to change the umbracoRedirect to show the URLs as it did in version 3?

    Thanks for any help

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 20, 2009 @ 12:31
    Dirk De Grave
    0

    Hi,

    Are the setting for umbracoHideTopLevelNodeFromPath (in web.config) the same in both installs?

     

    Cheers,

    /Dirk

  • SiKo279 82 posts 238 karma points
    Aug 20, 2009 @ 12:31
    SiKo279
    0

    the umbracoUrlName document type property defines the url. if you specify english/page the url will be <domain>/english/page.aspx

    the umbracoUrlAlias document type property defines alternatives for the url. if you specify test/test ; bla/page, the page will be reachable under <domain>/bla/page.aspx and <domain>/test/test.aspx

    Hard coded url are not a good idea in general. Better to replace them with {localLink:(nodeID)}. E.g. href={localLink:1258}

    HTH

Please Sign in or register to post replies

Write your reply to:

Draft