title: Codeigniter controller not found
body: <p>I have create a controller in codeigniter. The problem is that when I hit the controller name and function name in url then Its give me error that 404 not found. I am new to codeigniter and I did not understand where I am going wrong</p>
  
  <p>Here is my controller</p>
  
  <pre><code>&lt;?php
  if(!defined('BASEPATH')) exit('No direct script access allowed');
  
  class Home extends CI_Controller{
  
  function __construct(){
  parent::__construct();
  }
  
  function you(){
  $this-&gt;load-&gt;view('home_view');
  }
  
  }
  ?&gt;
  </code></pre>
  
  <p>and my view is like this</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
   &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
   &lt;head&gt;
   &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
   &lt;title&gt;My First CodeIgniter Practice&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
   &lt;h1&gt; HELLO CI Buddy...!&lt;/h1&gt;
   &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>I am creating my first project on codeigniter and I stuck in this problem.I already try most of the solution from the stackoverflow and after that I asking this question. So Its my request not to add this question to duplicate. I want solution for my problem. any help is appreciable</p>
  
  <p>Thanks </p>