title: Remove or hide controller name from url in codeigniter
body: <p>How can I remove controller name from url . I have two controller </p>
  
  <pre><code> home and admin
  </code></pre>
  
  <p>and the url's are </p>
  
  <pre><code> http://domain.com/likes/home/post/sports/20-Athletes-Who-Profited-While-in-College-/12
  
    home/post
  </code></pre>
  
  <p>and </p>
  
  <pre><code>  http://domain.com/likes/admin/ad_managment/edit/2
  
    http://domain.com/likes/admin/meta_tags_home/edit/2
  
     admin/ad_managment   admin/meta_tags_home
  </code></pre>
  
  <p>I have already used this</p>
  
  <pre><code>   $route['(:any)/(:any)/(:num)'] = "home/post/$1";
  </code></pre>
  
  <p>It works for this URL</p>
  
  <pre><code>    http://domain.com/likes/home/post/sports/20-Athletes-Who-Profited-While-in-College-/12
  </code></pre>
  
  <p>admin is not working. Basically I want to remove home/post Leave admin controller it doesn't matter</p>