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