title: CodeIgniter button onclick(), page redirect issue
body: <p>I am very new to CodeIgniter.</p>
  
  <p>I have created the controller as bellow.</p>
  
  <pre><code>&lt;?php
      class Search_Student_Ctrl extends CI_Controller
      {
          public function index()
          {
              //redirect('student_home');
              $this-&gt;load-&gt;view('student_home', null);
          }
      }
  ?&gt;
  </code></pre>
  
  <p>My view as bellow,</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
      &lt;h1&gt;Student Management System&lt;/h1&gt;
  
      &lt;button onclick="location.href='&lt;?php echo base_url();?&gt;Search_Student_Ctrl/index'"&gt;Search Student&lt;/button&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I click on the button I am getting bellow error.</p>
  
  <p><strong><em>The requested URL /sms/Student_Home_Ctrl/index was not found on this server.</em></strong></p>
  
  <p>Note: I have added bellow line in autoload.php</p>
  
  <pre><code>$autoload['helper'] = array('url');
  </code></pre>
  
  <p>Can anyone please help me how to resolve this issue?</p>