Copied to clipboard

Flag this post as spam?

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


  • pnr 131 posts 226 karma points
    Apr 04, 2016 @ 13:37
    pnr
    0

    Same node several places

    Is it somehow possible in Umbraco to create a node under one parent node, and then show the same node under other parent nodes?

    Parent 1 -> Sub 1 Node Parent 2 -> Sub 1 Node

    “Sub 1 Node” is the same node, just showing under different parentnodes.

    Thanks very much in advance.

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Apr 04, 2016 @ 14:20
    Dennis Adolfi
    0

    I dont think that a node can exist under several parents without beeing two separate nodes.

    What you can do to fix what you want is to create a empty node (or copy Sub 1 ) to Parent 2 and use the property UmbracoInternalRedirectId with a contentpicker, and for that empty node select Sub 1. That way Sub 1 under Parent 2 will redirect to Sub 1 under Parent 1.

    enter image description here

    Hope this helped.

  • pnr 131 posts 226 karma points
    Apr 04, 2016 @ 17:51
    pnr
    1

    Thanks very much for your reply :-)

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Apr 04, 2016 @ 19:15
    Dennis Adolfi
    0

    Happy to help. Did it work in your case?

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Apr 04, 2016 @ 20:08
    Nicholas Westby
    0

    Yes, it is possible. You can implement a content finder that can tell Umbraco what content node to use for any given URL: https://our.umbraco.org/documentation/reference/routing/request-pipeline/icontentfinder

    Here's an example of one I implemented (for a different purpose): https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64766-IIS-Rewrite-or-ContentFinder-UrlSegments#comment-243877

  • 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