title: Codeigniter: 404 page not found
body: <p>i created a folder insider controller's folder called admin and created a controller user as attached </p>
  
  <p><a href="https://i.stack.imgur.com/kLMbH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kLMbH.png" alt="enter image description here"></a></p>
  
  <p>this is how i am trying to access my User class in </p>
  
  <pre><code>http://localhost/site/admin/user/login 
  </code></pre>
  
  <p>but its giving me 404 error page not found , i tried die() inside constructor to see if any views are missing or something else but still i get the same error. </p>
  
  <p>i tried both User and user for accessing this but it did not work . Please help me to sort it out if i move same class outside admin folder it works fine . </p>