CodeIgniter Forums
Extra URL Segments = 404 (when file is in another folder) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Extra URL Segments = 404 (when file is in another folder) (/thread-46608.html)



Extra URL Segments = 404 (when file is in another folder) - El Forum - 11-08-2011

[eluser]Unknown[/eluser]
Hey there!

I have some files in my /controllers/ directory. When extra URL segments are applied to the path, everything works as expected. Unfortunately, when I try the same with controllers that are located in my /controllers/about/ directory, extra URL segments result in a 404 error. However, this organization is preferable so that files don't get cluttered.

What's wrong? Is this supposed to happen? If yes, is there a workaround?