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