So in my example, I want to route "example.com/r/eukhost" to a method within a different controller, because the "r" controller does not exist in my application. To change the route, I need to go to the application/config folder and open "routes.php". At the bottom of this file notice "RESERVED ROUTES" and in my case I need to add the following line:
PHP Code:
$route['r/(:any)'] = '/home/r/';