Hide segment in URL but give code access to hidden segment
- by Brandon Durham
I'm using Structure and have a "Supernav" page with multiple children that will make up the supernav for the site. I thought this would be a nice way to have all pages on the site accessible to the client via one location: the Structure UI.
If you visit any of the child pages in the "supernav" group the URL comes out like this:
http://website.com/supernav/prospective-students
I'd love to be able to remove the supernav segment of those URLs so that it ends up being:
http://website.com/prospective-students
I don't even want the supernav segment to appear in the status bar when you hover over these links on the page. Is this possible? With CodeIgniter this comes down to a simple routing rule, but I don't know if that's an option with EE.
Appreciate any help I can get!