I hate the codeigniter custom urls where it's: domain.com/controller/action/username
How can I have it like a normal website like: domain.com/username
Please give me a suggestion.
You try this in routes.php
$route['(:any)'] = "controller/action/$1";
Here is the routing documentation : routing
Please refer http://ellislab.com/codeigniter/user-guide/general/routing.html. You can do this by URL routing
$route['controller/(:any)'] = 'controller/index/$1';