title: Rewrite URLs in CodeIgniter
body: <p>How can I rewrite the following urls in CodeIgniter</p>
  
  <pre><code>localhost/users/show_profile/john
  </code></pre>
  
  <p>to</p>
  
  <pre><code>localhost/john
  </code></pre>
  
  <p>Thanks</p>