I'm new to umbraco and would like to ask how to change the url link (link to document) to custom url. For example, from test/test1.aspx to umbracotest.aspx.
You can set a property on the DocumentType called "umbracoUrlName" that will allow you to set the URL for the page. Check out this link for details and some other related properties you can set.
As jc stated, you have the umbracoUrlName property to override the nodeName based url name. This is only good for this document's segment.
There is also the umbracoUrlAlias property that will resolve incoming requests to the full root based url string (no domain). NiceUrl does not render out with this property, but, in XSLT and controls, you can check to see if the property is set and render it in place of NiceUrl.
The biggest problem is pages linked in templates and RTE with {localLink:xxxx} will only use the NiceUrl version. You can either hard code them, or write your own handlers to modify the core.
A modified Request Handler (http module?) and some other slickness could possibly get this to work. (I wish NiceUrl and the Request handler (page lookup portion) were provider based.. )
Thanks for the quick solution and it works great. First of all, I would like to ask if there is any documentation that has the list of all umbraco property that we can use, as in this example umbracoUrlName and umbracoUrlAlias.
Change the default URL set by Umbraco
Hello,
I'm new to umbraco and would like to ask how to change the url link (link to document) to custom url. For example, from test/test1.aspx to umbracotest.aspx.
Also, can we use the official EXSLT in umbraco?
Thanks
You can set a property on the DocumentType called "umbracoUrlName" that will allow you to set the URL for the page. Check out this link for details and some other related properties you can set.
http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlname
Elin,
As jc stated, you have the umbracoUrlName property to override the nodeName based url name. This is only good for this document's segment.
There is also the umbracoUrlAlias property that will resolve incoming requests to the full root based url string (no domain). NiceUrl does not render out with this property, but, in XSLT and controls, you can check to see if the property is set and render it in place of NiceUrl.
The biggest problem is pages linked in templates and RTE with {localLink:xxxx} will only use the NiceUrl version. You can either hard code them, or write your own handlers to modify the core.
A modified Request Handler (http module?) and some other slickness could possibly get this to work. (I wish NiceUrl and the Request handler (page lookup portion) were provider based.. )
Hi Jc and Casey,
Thanks for the quick solution and it works great. First of all, I would like to ask if there is any documentation that has the list of all umbraco property that we can use, as in this example umbracoUrlName and umbracoUrlAlias.
Thanks
Elin
Hi Elin,
Check out this Wiki section: http://our.umbraco.org/wiki/reference/umbraco-best-practices
Regards
Anders
is working on a reply...