title: How to Change URL in CodeIgniter?
body: <p>I have to change <code>www.sample.com/users/user/username</code> to <code>www.sample.com/username</code>, but when I go to  <code>sitename/username</code> it displays a 404 page. I've tried to route, and <code>uri-&gt;segment</code>, but I can't get this to work. Please help me with this issue!</p>