Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

How can I hide Episerver folder name in a page url


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 to be

Nov 30, 2016 14:48

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. 

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.