codeigniter routes method code example Example: route codeigniter $route['produk/(:num)/([a-z]+)'] = 'HomeControl/detail_produk/$1';