CodeIgniter Forums

Full Version: Route Everything, Except These Controllers PROBLEM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

$route[default_controller'] = "welcome";
$route['^(?!welcome)\S*'] = "page/view/$0";

this code right now, its work just fine for http://localhost/welcome and http://localhost/anything_i_put

but, its show 404 error page if http://localhost/welcomes , http://localhost/welcomez and all if i add after "/welcome"

any idea guys?