[eluser]codeigniterzzz[/eluser]
Here is my route for the controller:
Code:
$route['gotopage'] = 'general/gotopage';
The controller file is located here:
application/controllers/general/gotopage.php
Here is the code in the controller file:
Code:
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Gotopage extends CI_Controller
{
public function __construct()
{
parent::__construct();
}
public function index()
{
this->load->view('index');
}
}
?>
for some reason codeigniter is throwing the 404 page not found error.
I have no idea what I'm doing wrong...