CodeIgniter routes are not working
Do you mean display an 404-not-found error when request URL has an unwanted "tail"? You can modify (:any)
to restrict accepted string. It's simple:
$route['apartments/(\w+)'] = 'apartments/view/$1';
Do you mean display an 404-not-found error when request URL has an unwanted "tail"? You can modify (:any)
to restrict accepted string. It's simple:
$route['apartments/(\w+)'] = 'apartments/view/$1';