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?
Joel has a good blogpost with a similar goal: http://joelabrahamsson.com/custom-routing-for-episerver-content/
I've tried to adapt Joel's tutorial to remove the segments of the container pages from the link to no avail. Has anyone managed to remove the segments based on a page type before?
Note: CMS 11.15.x
This might not answer your question directly, but EPiServer has introduced an AddOn which allows you to manage large volumns of pages in Edit Mode. It is EPiServer.Labs.GridView. Maybe it's worth to try out?https://world.episerver.com/blogs/bartosz-sekula/dates/2020/4/content-manager---lightweight-editing-ui/