CodeIgniter Forums
Controllers in sub-directory showing 404 not found - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Controllers in sub-directory showing 404 not found (/showthread.php?tid=68626)



Controllers in sub-directory showing 404 not found - Muaawiya - 08-06-2017

I just configured CI4 and its working fine for "Home" controller but as i put the controller in sub-directory to call as subdirectory/home, it's not opening and 404 called. any help please?


RE: Controllers in sub-directory showing 404 not found - Muaawiya - 08-06-2017

As codeigniter says that controllers in sub-folder can be managed BUT it seems that this feature is not working in Codeigniter 4


RE: Controllers in sub-directory showing 404 not found - InsiteFX - 08-07-2017

It works search the ci4 topics for base controllers.

SEE this topic in here:

How to extend the Controller core class