Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
To reproduce the issue create the following hierarchy:
<domain>/foo/bar
<domain>/bar
Why does umbraco skip /foo/ when creating a page outside of Home? Is there a way to make nodes outside of Home stack the path as the nodes under Home?
/foo/
Umbraco v7
Because this isn't the way Umbraco is meant to work. In your case, 'Foo' is a homepage in its own right.
What are you trying to achieve by doing this?
The setting that relates to this is
<add key="Umbraco.Core.HideTopLevelNodeFromPath" value="true" />
But you would end up with
What are you trying to achieve by doing this
I have some nodes dedicated to storing website settings, for example number of posts per page. These nodes don't have an associated view and are not intended to be rendered. That's why I thought it would make sense to put them outside of Home.
Then what you are doing is correct. They are not mean to be routed / navigated to from the site.
So therefore they won't have a url associated with them.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco routing not working outside Home node
To reproduce the issue create the following hierarchy:
<domain>/foo/bar
<domain>/bar
Why does umbraco skip
/foo/
when creating a page outside of Home? Is there a way to make nodes outside of Home stack the path as the nodes under Home?Umbraco v7
Because this isn't the way Umbraco is meant to work. In your case, 'Foo' is a homepage in its own right.
What are you trying to achieve by doing this?
The setting that relates to this is
But you would end up with
I have some nodes dedicated to storing website settings, for example number of posts per page. These nodes don't have an associated view and are not intended to be rendered. That's why I thought it would make sense to put them outside of Home.
Then what you are doing is correct. They are not mean to be routed / navigated to from the site.
So therefore they won't have a url associated with them.
is working on a reply...