CodeIgniter Forums
Multiple level URLs? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Multiple level URLs? (/showthread.php?tid=16233)



Multiple level URLs? - El Forum - 02-28-2009

[eluser]heavener[/eluser]
Okay, so I know how to create URLs (like http://example.com/page/) by creating a controller and including views within it.

But how do I create URLs with more than one depth level of pages (like http://example.com/page/another/page)?

Anyone know? :question:

Thanks.


Multiple level URLs? - El Forum - 02-28-2009

[eluser]pistolPete[/eluser]
You are posting in the wrong forum, Code and Application Development would be the appropriate one.

Quote:But how do I create URLs with more than one depth level of pages (like http://example.com/page/another/page)?

There are several possibilities, have a look at:
- Routing
- Remapping Function Calls
- maybe Organizing Your Controllers into Sub-folders