This is my first time round using Umbraco and I have created Document Types / Pages using the wrong naming format and now this has transpired into my page URL's, for instance /about-page/
. How would I go about changing them to /about
as I have searched the back-end admin panel and there dose't seem to be an option to change their link to document
values.
Would anyone be able to provide a simple code based example using umbracoUrlAlias or umbracoUrlName how I could change this preferably in Razor.
Thanks
Editing @run yards Solution by digbyswift help in comment
Correct Solution:
.Url
with .umbracoUrlAlias
within the views it will need to be present)