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
Hi there
In old umbraco it was possible to find a page by calling the pageid like mysite.dk/1200 Now I cant get that function to work in 7.2
I would like an URL like this mysite.dk/articles/1200 instead of mysite.dk/articles/newarticlesaboutcats
Would that be possible? any hints/help would be much appreciated.
Hi Elitenet,
I think this functionality was disabled in one of the newer versions of Umbraco.
You can create a UrlSegmentProvider that will use the id instead of the page name as part of the url.
See the docs : https://our.umbraco.org/documentation/Reference/Routing/Request-Pipeline/outbound-pipeline
Dave
Hi Dave. All right, looks good for many things. Thanks for the help! :-)
/Bille
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Get URL by pageid instead of pagename
Hi there
In old umbraco it was possible to find a page by calling the pageid like mysite.dk/1200 Now I cant get that function to work in 7.2
I would like an URL like this mysite.dk/articles/1200 instead of mysite.dk/articles/newarticlesaboutcats
Would that be possible? any hints/help would be much appreciated.
Hi Elitenet,
I think this functionality was disabled in one of the newer versions of Umbraco.
You can create a UrlSegmentProvider that will use the id instead of the page name as part of the url.
See the docs : https://our.umbraco.org/documentation/Reference/Routing/Request-Pipeline/outbound-pipeline
Dave
Hi Dave. All right, looks good for many things. Thanks for the help! :-)
/Bille
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.