I'm sure this has been asked before, but I didn't find the answer in the first few pages of search results (showed 933 pages of results).
If I have a site structure like this:
Home
Categories
Category 1
Category 2
Brands
Brand 1
Brand 2
Is there a way for me to exclude "Categories" from all my category urls and "Brands" from all my brand urls?
I know I could use umbracoUrlAlias but then I'd have to fill that out for every category and brand (not ideal). I could also move Categories and Brands to the root and the umbracoHideTopLevelNodeFromPath web.config setting will hide them, but then I have to hack other things like bread crumbs. Is there any other way?
Exclude Node from URL?
I'm sure this has been asked before, but I didn't find the answer in the first few pages of search results (showed 933 pages of results).
If I have a site structure like this:
Is there a way for me to exclude "Categories" from all my category urls and "Brands" from all my brand urls?
I know I could use umbracoUrlAlias but then I'd have to fill that out for every category and brand (not ideal). I could also move Categories and Brands to the root and the umbracoHideTopLevelNodeFromPath web.config setting will hide them, but then I have to hack other things like bread crumbs. Is there any other way?
Wish there was something like umbracoUrlHide :)
I guess you could try some URL Rewriting. Umbraco uses UrlRewriting.NET and you can find the config file in /config/UrlRewriting.config
You can also have rewrite rules in IIS and add them to web.config
is working on a reply...