You're right, the umbracoUrlName change not the parent path. I think you can do this with the /Config/UrlRewriting.config file. There is an example within this file.
You can use 'umbracoUrlAlias' to make the page available for certain URL's, but this will not change what the NiceUrl property returns, so linking to the umbracoUrlAlias URL has to be done manually.
How to change URL of a document
Hi
I have a problem with my URL structure that I would like to make more simple.
My page is called:
www.inmedia.dk/search/seo.aspx
And I would like the URL to be:
www.inmedia.dk/seo
Is that even possible without changing the tree structure in the contents section?
And if it is, how can it be achieved?
Hi Inmedia,
you can use a textstring property with alias "umbracoUrlName" in the related document type. umbracoUrlName is a defacto standard in umbraco:
https://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlname
Hope this helps?
Best,
Sören
Hi Sören
Well, I have tried that, but it doesn't remove the parent from the URL.
I need it to remove the parent from the URL and also the .aspx at the end.
And as far as I know, that can't be done with the "umbracoUrlName" property, or am I wrong about that?
Hi Inmedia,
in web.config section "appSettings" you can set "umbracoUseDirectoryUrls" to true:
<add key="umbracoUseDirectoryUrls" value="true" />
Then all urls are available without .aspx.
You're right, the umbracoUrlName change not the parent path. I think you can do this with the /Config/UrlRewriting.config file. There is an example within this file.
Maybe you can also use the commercial seo checker package:
https://our.umbraco.org/projects/website-utilities/seo-checker
Best,
Sören
You can use 'umbracoUrlAlias' to make the page available for certain URL's, but this will not change what the
NiceUrl
property returns, so linking to the umbracoUrlAlias URL has to be done manually.is working on a reply...