This is the code that I put in my .htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
it works just fine if I go the default controller
$route['default_controller'] = "atk_c/login";
I just input localhost/timetracker and it will automatically goes to the login page. but when I need to go to another page besides that page. It displays the error "Not Found".
Example:
<a href="<?php echo base_url('atk_c/register'); ?>"> Not yet registered? Click here!</a>