In my codeigniter project all my routes are working fine, apart from the default_controller, which always returns a 404. Sample of my routes:
$route['(:any)/(:any)/(:any)'] = 'home/$3'; // Region / language / page
$route['(:any)/(:any)'] = 'home/index'; // Region / language
$route['default_controller'] = "home/region_select";
So when the user first visits the site, the idea is to go to the default_controller, where he selects a region. All the other routes work. In the "Home" controller I have a "region_select" function. Any ideas much appreciated.
application/controller/home/region_select.php? That's what is searches for now, and it looks like you want the default controller to load the functionregion_select, however this only fetches controller and loadsindex()inside it. - Robin Castlin