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
Is it possible to group pages in the back office without adding making the slug longer?
E.g. currently under home I have /landing-page/
And as I create more I want to keep them together without having
Does anyone know of a good way of managing this?
I think you have to have a separate node so the default slug will always be longer, but you can add a special field to your document type that lets you specify a list of alternative URLs as a comma separated list.
The field has to be called Umbraco Url Alias (generates a field called umbracoUrlAlias) and you enter the alternative URLs as a comma separate list, e.g. for above if you enter lp, lp1 then
will both point to that document (as well as the default landing-page slug).
Not sure how easy this is to manage (you can easily generate conflicts), but it is automatic and built into Umbraco.
Awesome, thanks Chris.
Its a shame about the separate node though.
You could set up a folder doctype to group nodes and then have the child nodes use the umbracoUrlAlias that is the url of that page minus the url of the parent page (the folder)
Brilliant - Not sure how I didn't come to that conclusion myself following Chris' reply.
I think using umbracoUrlAlias can create multiple url for the same page. I'm using this package to remove folders from URL - "Omit Segments" Url Provider
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted