title: URI re-routing in codeigniter
body: <p>I'm using URI re-routing in CI to make better URLS. An example here would be:</p>
  
  <pre><code>$route['users/(:any)'] = "users/index/$1";
  </code></pre>
  
  <p>The aim here is to get rid of the index from URL. This works well. However it stops me from being able to access any functions in the users controller, for example</p>
  
  <pre><code>mywebsite.com/users/messages
  </code></pre>
  
  <p>Just redirects to the <code>users/index</code>. Is there a way around this?</p>