Understanding CI URL Structure |
[eluser]Krumpet[/eluser]
Thanks to everyone for their input on this. I'm amazed at how quickly I'm getting responses! From the most basic level, I'm able to set a default controller and access it at http://www.example.com. What I want to figure out how to create a second controller (not default) and access it. Based on the CI URL structure, I believe a controller named 'search' would be accessible in one of the following two ways: 1. http://www.example.com/search (if 'search' is defined as a controller) 2. http://www.example.com/application/search (if 'search' is defined as a function within the 'application' controller) Of course, this assumes the .htaccess file is set up properly. This is correct, right? Thanks again. |
Messages In This Thread |
Understanding CI URL Structure - by El Forum - 05-10-2011, 03:44 PM
Understanding CI URL Structure - by El Forum - 05-10-2011, 03:56 PM
Understanding CI URL Structure - by El Forum - 05-10-2011, 04:06 PM
Understanding CI URL Structure - by El Forum - 05-10-2011, 04:08 PM
Understanding CI URL Structure - by El Forum - 05-10-2011, 04:10 PM
Understanding CI URL Structure - by El Forum - 05-10-2011, 04:28 PM
Understanding CI URL Structure - by El Forum - 05-10-2011, 04:46 PM
Understanding CI URL Structure - by El Forum - 05-12-2011, 03:33 PM
|