Querystring value as part of url after specific document types
Is it possible to add url/routing in some way so that after a specific document type a parameter (or parameters are expected).
For example:
domain.com/my-things/thing/1
Could be two umbraco pages (MyThings and Thing DocumentTypes with associated templates) but '1' could be a parameter to the 'Thing' template. It would otherwise be written as:
domain.com/my-things/thing?id=1
I understand there are url rewriting rules that can be added but does that assume a particular position in the url e.g. id is always third after the word 'thing'. What i'd actually prefer is the understanding that 'Thing' types always have an id after so that it would be at any step in the heirarchy:
domain.com/section/place/deeper/my-things/thing/1
Without being able to be at any level a UrlRewriting solution feels brittle to pages being moved by a CMS user.
Querystring value as part of url after specific document types
Is it possible to add url/routing in some way so that after a specific document type a parameter (or parameters are expected).
For example:
Could be two umbraco pages (MyThings and Thing DocumentTypes with associated templates) but '1' could be a parameter to the 'Thing' template. It would otherwise be written as:
I understand there are url rewriting rules that can be added but does that assume a particular position in the url e.g. id is always third after the word 'thing'. What i'd actually prefer is the understanding that 'Thing' types always have an id after so that it would be at any step in the heirarchy:
Without being able to be at any level a UrlRewriting solution feels brittle to pages being moved by a CMS user.
is working on a reply...