How to remove Controller and method URL in codeignitor : This is my current URL http://www.example.com/agent/index/$id,
and i want to change this http://www.example.com/demo_name(by agent name)
Please suggest your answer.