I am using one controller. How can I remove or hide the controller name on my URL using routes? I already set my .htaccess to remove my index.php. I\'ve tried lots of code from
You can define a custom route in config/routes.php - for example:
$route['about'] = 'name_controller/about';
Then, http://example.com/about goes to http://example.com/name_controller/about
See more http://ellislab.com/codeigniter/user-guide/general/routing.html