Codeigniter routing does not working |
[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 . |
Welcome Guest, Not a member yet? Register Sign In |