(05-16-2015, 05:25 AM)InsiteFX Wrote: As Hobbes mentioned all Any routes need to be the last ones in your routes file because they are a catch all route. So if you have these routes PHP Code:$route['(:any)'] = 'home/$1'; // http://example.com/any$route['student'] = 'student'; // http://example.com/student Your student route will never run because the any catch all route will always run.
$route['(:any)'] = 'home/$1'; // http://example.com/any$route['student'] = 'student'; // http://example.com/student