In Code Igniter, I am trying to access a method from the controller, but it gives me a 404 not found error. Maybe it is a problem with the .htaccess file or config?
My base url is set as:
$config['base_url'] = 'http://localhost/codeIgniter/';
I tried to access:
http://localhost/codeIgniter/pages/index
but it returned a 404 not found error.