Ignoring container pages in URL


The site I am currently working on has hundreds of pages beneath the start page. This slows everything down so we decided to group the pages inside of a few container pages instead. Site is now faster, but we would like to keep the URLs of the pages, by ignoring the container pages URL segment in the URL. We would like http://site.com/container1/page1  to be http://site.com/page1. And also for all subpages http://site.com/container1/page1/subpage2/subpage3 to be http://site.com/page1/subpage2/subpage3.

How could this be done? Partial routing? 

Jul 31, 2015 10:36

Hi, Malin,

Joel has a good blogpost with a similar goal: http://joelabrahamsson.com/custom-routing-for-episerver-content/



Jul 31, 2015 14:00
* 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.