Hello,
I developed my project in local and the routes work perfectly:
But when I try to move the project on my vps the all routes except of the default_controller it is not working.
This is the message:
How can I fix?
I developed my project in local and the routes work perfectly:
PHP Code:
$route['default_controller'] = 'home';
$route['404_override'] = '';
$route['page/(:any)'] = 'page/thread/$1';
$route['translate_uri_dashes'] = FALSE;
$route['acp'] = 'acp/user/login';
$route['acp/page/edit/(:any)'] = 'acp/page/edit/$1';
$route['acp/page/delete/(:any)'] = 'acp/page/delete/$1';
$route['acp/menu/edit/(:any)'] = 'acp/menu/edit/$1';
$route['acp/menu/edit/(:any)'] = 'acp/menu/delete/$1';
But when I try to move the project on my vps the all routes except of the default_controller it is not working.
This is the message:
Code:
404 Page Not Found
The page you requested was not found.
How can I fix?