How can I hide Episerver folder name in a page url

Vote:
 

Today all the hierarchy in Episerver is reflected in the URL for a page. How can I rewrite the generated url for the page and remove some folders' names from this url? I need to hide a folder name in all the pages which are located in this folder.

For example if we have 

www.site.com/folder/subfolder/subfolder/page to be www.site.com/folder/page.

#172337
Nov 30, 2016 14:48
Vote:
 

Simple urls can be used if you have any specific page you want an easy url for. Support out-of-the-box for that one...

Other than that there are no simple solutions I think. Of course it's possible to rewrite routing but seldom worth the trouble. 

If you choose to go that path anyway I would probably check out the specific implementation of the ContentRoute class in Episerver and then create my own based on that and put it before the registered routes in the MVC routing pipeline. 

#172343
Nov 30, 2016 16:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.