URI Routing to the 404 page

In my routes file I have the following:
$route['signup'] = "users/signup";
$route['signin'] = "users/signin";
$route['signout'] = "users/signout";

Is there a way to create a route so that if someone types "www.whatever.com/users/signup", they get routed to the 404 page?

I figure I can just make a method in a controller that calls
and then route to that, but I was wondering if there was a direct way to route right to that page.


I guess you could try:

$route['users/signup'] = 'my404controllermethodorwhatever';

That's the way I had already figured out.

What I'd really like to do is make a route kinda like this:
$route['users/signup'] = show_404();

And not have to create any extra controllers or methods.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.