This lets you add additional urls that the page will respond to. You would need to add your seo url to each document.
If there is a general rule to how the default url and your seo url are related you could use a custom ContentFinder. A custom ContentFinder lets you add your own logic to the Umbraco request pipeline and you can use it to route the seo url requests back to the original document.
Using Umbraco with different URL structure than the content tree structure
Hi,
I have a content tree structure like this:
http://www..com/en/a/b-b/c-c-c/content-page/ http://www..com/en/a/b-b/c-c-c/content-page-2/
Is it possible to use the same tree structure but change the URL for SEO like below?
http://www..com/en/publications/content-page/ http://www..com/en/publications/content-page-2/
Thanks, Bora
Hi Bora
To use a different url you can add a property named umbracoUrlAlias to the doctype.
https://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlalias/
This lets you add additional urls that the page will respond to. You would need to add your seo url to each document.
If there is a general rule to how the default url and your seo url are related you could use a custom ContentFinder. A custom ContentFinder lets you add your own logic to the Umbraco request pipeline and you can use it to route the seo url requests back to the original document.
https://our.umbraco.org/documentation/reference/routing/request-pipeline/icontentfinder
This forum post has a more detailed response: https://our.umbraco.org/forum/using-umbraco-and-getting-started/78856-difference-between-custom-routes-and-content-finder
If you use the ContentFinder you can also write a custom UrlProvider that will generate the seo urls (overriding the default url)
Dallas
is working on a reply...