Copied to clipboard

Flag this post as spam?

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


  • Rotem Orbach 93 posts 506 karma points
    May 01, 2019 @ 08:01
    Rotem Orbach
    0

    map node id to url

    Hi all, I have a multiple language site. every time I browse the site by Node Id, I expect the node ID to be automatically redirected to the url, but it does not.

    enter image description here

    what am I missing?

  • Dave Woestenborghs 3203 posts 10696 karma points MVP 4x admin c-trib
    May 01, 2019 @ 08:12
    Dave Woestenborghs
    100

    Hi Rotem,

    I don't think that is possible out of the box.

    Personally I always turn off the possiblity to browse a node by id in the url.

    You can change this behavior by going in to this file : /config/umbracoSettings.config

    There in the web.routing section set the attribute disableFindContentByIdPath to true

    If you still want to keep this behavior I think the only option is to write a content finder to handle this.

    Dave

  • Rotem Orbach 93 posts 506 karma points
    May 01, 2019 @ 09:00
    Rotem Orbach
    0

    Thanks Dave, BTW, in the former Umbraco's version that I had (7.4.3) it was out of the box.

    Thanks anyway man. Your solution is good enough for me :)

Please Sign in or register to post replies

Write your reply to:

Draft