I need help to rewrite url and remove controller as well as function name from url given url is my current uel.
URL :http://localhost/example/Loadercontrol/detail/200
I want this type of url
URL : http://localhost/example/name (replace id with name).
I already try rewrite url as well as
$route['example'] = 'localhost/example/Loadercontrol/detail';
but it's not working. I've really tried to fix the issue. Please help me.