Welcome Guest, Not a member yet? Register   Sign In
Codeigniter routing does not working
#1

[eluser]Unknown[/eluser]
Hello . I have trouble when using routing. I tried this code in config/route.php:

$route['news/create'] = 'news/create';
$route['news/(:any)'] = 'news/view/$1';
$route['news'] = 'news';
$route['(:any)'] = 'pages/view/$1';
$route['default_controller'] = 'pages/view';

when i try to access http://localhost/codeigniter it’s not work, just 404 Page Not Found.
only default code is working..so please give a solution i m a new beginner of code igniter .


Messages In This Thread
Codeigniter routing does not working - by El Forum - 12-17-2011, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB