I\'m trying to setup a blog script on a website running on the CodeIgniter framework. I want do this without making any major code changes to my existing website\'s code. I figu
$route['latest'] = "index";
means that the URL http://blog.example.com/latest will look for an index() method in an index controller.
http://blog.example.com/latest
index()
index
You want
$route['latest'] = "blog/latest";
Codeigniter user guide has a clear explanation about routes here