when a user clicks/enters the friendly url for certain pages, I need a way to populate the address bar with the default url for the page. this will only apply to specific doc types.
Documentation: This property when created as a text string lets you provide a different URL name to what is created by default by the name of the node. If you enter a value for this property and save/publish the content node you will see that its main URL is updated with a new path suffix.
Say a user enters one of the comma separated values in umbracoUrlAlias. Instead of displaying the 'mask' in the address bar, I would like to show the real url (assigned by umbraco)
example:
user enters -> mysite.com/rose
renders -> mysite.com/flowers/thorny/rose
Modifying URLs
when a user clicks/enters the friendly url for certain pages, I need a way to populate the address bar with the default url for the page. this will only apply to specific doc types.
thanks!
You need to add a textbox property with alias umbracoUrlName. This property you edit the url in the format you want.
https://our.umbraco.com/Documentation/Reference/Routing/routing-properties#umbracourlname
Documentation: This property when created as a text string lets you provide a different URL name to what is created by default by the name of the node. If you enter a value for this property and save/publish the content node you will see that its main URL is updated with a new path suffix.
That's not quite what I'm looking for.
Say a user enters one of the comma separated values in umbracoUrlAlias. Instead of displaying the 'mask' in the address bar, I would like to show the real url (assigned by umbraco)
example:
user enters -> mysite.com/rose
renders -> mysite.com/flowers/thorny/rose
Hope that helps clarify a bit.
got it. In that case you will need to customize urlprovider to always return the original url
https://24days.in/umbraco-cms/2014/urlprovider-and-contentfinder/
is working on a reply...