title: Codeigniter routes not working in sub-folders
body: <p>I have a application with Codeigniter<br>
  in controllers folder I have  </p>
  
  <blockquote>
    <p>front/<br>
    admin/players/players.php  </p>
  </blockquote>
  
  <p>players is the folder inside /admin and player.php is my controller.</p>
  
  <p>when I try to access with following url i am getting 404 error.</p>
  
  <blockquote>
    <p><a href="http://localhost/mysite.com/admin/players/players" rel="nofollow noreferrer">http://localhost/mysite.com/admin/players/players</a></p>
  </blockquote>
  
  <p>In routes.php i have defined</p>
  
  <pre><code>$route['default_controller'] = "admin/login";  
  $route['admin/players'] = "admin/players/players";  
  $route['404_override'] = '';
  </code></pre>
  
  <p>but its showing 404 error. can you please locate the problem?</p>