Copied to clipboard

Flag this post as spam?

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


  • Saied 349 posts 674 karma points
    Jun 16, 2016 @ 13:34
    Saied
    0

    Package to display nodes in a sitemap, but not actually link anywhere?

    Hi,

    I am creating a sitemap and I am working on the structure. For example, I have something like

    • User
      • Account
      • Orders

    The User page does not exist, so when the sitemap renders this, it renders a link to /user for example, but this throws a 404 if the user clicks on it. Is there a way to create nodes that still render on a sitemap, but do not actually contain an href or the href is just simply #.

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Jun 18, 2016 @ 17:09
    Alex Skrypnyk
    0

    Hi Saied,

    Do you render sitemap by yourself? Try to add UmbracoNaviHide property to each page, and when you render node, check it.

    Thanks,

    Alex

  • 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