Copied to clipboard

Flag this post as spam?

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


  • Jonas Widenberg 21 posts 102 karma points
    May 07, 2021 @ 07:29
    Jonas Widenberg
    0

    Umbraco Heartcore - Root node url

    Hi! Is it possible to set the root node url to "/" in Umbraco Heartcore?

    I use <add key="Umbraco.Core.HideTopLevelNodeFromPath" value="true" /> in a standard Umbraco project.

    enter image description here

    Thanks!

  • Lindow 154 posts 1301 karma points
    May 07, 2021 @ 13:35
    Lindow
    100

    Hi Jonas.

    Adding that line of code is not possible, as you might already know.

    The only options are https://our.umbraco.com/Documentation/Reference/Routing/routing-properties#umbracourlname

    however, changing the root node URL to / isn't possible AFAIK.

    Btw, you can still query https://cdn.umbraco.io/content/url?url=/

    and this will return your root node anyway, so you don't need to write /home

    Friendly regards, Darek

  • Chris Evans 137 posts 353 karma points c-trib
    Feb 15, 2022 @ 04:22
    Chris Evans
    0

    Is there no way to make this happen? It's not a show stopper for the Home node (but still feels wrong) but for child pages it also includes /home/ at the start of the URL:

    enter image description here

    the url of the page should be /about-us not /home/about-us

  • Lindow 154 posts 1301 karma points
    Feb 15, 2022 @ 08:51
    Lindow
    0

    It's not possible at the moment, no.

    There's an open feature request about this here - https://github.com/umbraco/Umbraco.Cloud.Issues/issues/407 - so I suggest that you comment on that to bump it :)

  • Chris Evans 137 posts 353 karma points c-trib
    Feb 15, 2022 @ 23:08
  • Lindow 154 posts 1301 karma points
    Feb 16, 2022 @ 09:11
    Lindow
    0

    Good stuff!

  • 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