jonny jonny - 2 months ago 6x
PHP Question

CodeIgniter not run in route

when i download project in

CodeIgniter v2.2.0

When i run http://localhost/qldv . i get result is welcome page of codeigniter . But when i register in routes.php with route

$route['admin/welcome'] = 'welcome';

when i go to web with link : http://localhost/qldv/admin/welcome

I dont get welcome page . Result is

Object not found!

Please help me . Thanks


If you don't disable having to put index.php in the URL (using an htaccess file), this route won't work. This would: http://localhost/qldv/index.php/admin/welcome

To disable index.php in the url look at this question: CodeIgniter removing index.php from url