CodeIgniter doesn't load default controller on '/' CodeIgniter doesn't load default controller on '/' codeigniter codeigniter

CodeIgniter doesn't load default controller on '/'


Solved. Apparently, I had an extra (unneeded) / at the end of my default route.

This was WRONG:

$route['default_controller'] = "Pages/show/";

This is CORRECT:

$route['default_controller'] = "Pages/show";

Still, I don't quite get why. In fact, if I explicitly load the controller, it works even with the extra slash.

If anyone explains this, I'll gladly accept his answer. :)