title: Codeigniter Page navigation error
body: <p>I am new to codeigniter. I need help in navigating from one page to another page.
  I'm working on a small crud app where dashboard is like admin folder.
  I have an admin called localhost/koeweb/dashboard which loads fine.
  now trying to go to another page within the admin, say localhost/koeweb/dashboard/page2 and i get <code>404 Page Not Found.</code></p>
  
  <p><strong>Here is my code</strong></p>
  
  <pre><code>class Dashboard extends CI_Controller {
    public function __construct() {
      parent::__construct();
      $this-&gt;load-&gt;model('parish_model');
    }
  
    public function index() {
      $this-&gt;load-&gt;view('dashboard/inc/header_view');
      $data['query'] = $this-&gt;parish_model-&gt;getParish();
      $this-&gt;load-&gt;view('dashboard/dashboard_view', $data);
      $this-&gt;load-&gt;view('dashboard/inc/footer_view');
    }
  
    public function page2() {
      $this-&gt;load-&gt;view('dashboard/inc/header_view');
      $this-&gt;load-&gt;view('dashboard/add_parish');
      $this-&gt;load-&gt;view('dashboard/inc/footer_view');
    }
  } 
  </code></pre>