Because of this, when you view the page for Sub-category-1 the URL is www.url.com/sub-category-1.aspx and we want it to be www.url.com/category-1/sub-category-1.aspx
I recognise why Umbraco structures URLs this way but surely there's a way to adjust it so the root nodes are shown in the URLs?
You can turn this on in the web.config file located in the root of your site, it's under appsettings, called something like "HideTopLevelNodesInUrl" and should be set to false
Site structure reflected in URLs
In our website we have a structure as follows:
Because of this, when you view the page for Sub-category-1 the URL is www.url.com/sub-category-1.aspx and we want it to be www.url.com/category-1/sub-category-1.aspx
I recognise why Umbraco structures URLs this way but surely there's a way to adjust it so the root nodes are shown in the URLs?
You can turn this on in the web.config file located in the root of your site, it's under appsettings, called something like "HideTopLevelNodesInUrl" and should be set to false
/per
Brilliant, thank you very much. I'm sure I've seen it done before but couldn't remember for the life of me.
asd
is working on a reply...