How can I remove a URI-path-segment?

Hi,

I created a site-structure like this:
grafik

In addition I use the site-link “Hauptmenü” for to split the strucure for several menus. For this i use the site-url-path-segment as value for the start-point of my main-menu:
grafik

In the frontend NEOS renders this path, for the “Startseite”-site:
https://domain.com/menu-starting-point/startseite

What must I do to have exactly that kind of “menu-helper-sites” not rendered in the URL?

Thank you in advance.
KR D.

In my opinion there is no way to exclude a path segment.

But you can set “visibility” on your pages to “hide in menu”, put them on root level and insert shortcuts within the menu folder.

Bildschirmfoto 2021-03-21 um 13.19.09

You can remove parts from urls with the plugin https://www.neos.io/download-and-extend/packages/breadlesscode/breadlesscode-neos-nodetypes-folder.html by marking the parent page as “folder” and setting the “hide segment in url” property.

We didn’t put this into the core yet as it makes routing less reliable as multiple pages could then have the same url.
But the plugin works well in many projects I know. Editors just need to be careful.

Here is another package that is kind of related…


let’s you override the full uri path on selected document types