Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Ignoring container pages in URL

$
0
0

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? 


Viewing all articles
Browse latest Browse all 9076

Trending Articles