Vulnerability in EPiServer.Forms
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.
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.