November Happy Hour will be moved to Thursday December 5th.

Ignoring container pages in URL

Vote:
 

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? 

#131621
Jul 31, 2015 10:36
Vote:
 

Hi, Malin,

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

BR,

Marija

#131630
Jul 31, 2015 14:00
Vote:
 

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

#222893
Edited, May 13, 2020 7:37
Vote:
 

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/

#222895
Edited, May 13, 2020 8:17
* 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.