I am using a multiple methods in one class.I want to only remove index from url only and other remain same;
www.mysite.com/blog/index
www.mysite.com/blog/index/one/two
www.mysite.com/blog/myblog
www.mysite.com/blog/data_load/one/two
I am using a multiple methods in one class.I want to only remove index from url only and other remain same;
www.mysite.com/blog/index
www.mysite.com/blog/index/one/two
www.mysite.com/blog/myblog
www.mysite.com/blog/data_load/one/two
you need to set route for that.
set route in your application/config/routes.php file
$route['project/user/id/(:any)'] = 'project/user/index/id/$1';