I will try to define index controller as a default controller
I will also change routes.php file
$route['default_controller'] = 'index';
but it did not work when i define welcome or other controller name like admin so it will work
$route['default_controller'] = 'welcome';
or
$route['default_controller'] = 'admin';
my url is
if default_controller is admin or welcome it will work but default_controller is index so error will be given
404 Page Not Found
The page you requested was not found.
if there any way to use index controller as a default controller
my controller file is bellow:
Admin
Index
Welcome