Welcome Guest, Not a member yet? Register   Sign In
URI Routing to the 404 page
#1

[eluser]GregX999[/eluser]
In my routes file I have the following:
Code:
$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
Code:
show_404($_SERVER['REQUEST_URI'])
and then route to that, but I was wondering if there was a direct way to route right to that page.

Greg


Messages In This Thread
URI Routing to the 404 page - by El Forum - 10-23-2009, 02:06 PM
URI Routing to the 404 page - by El Forum - 10-23-2009, 02:15 PM
URI Routing to the 404 page - by El Forum - 10-23-2009, 02:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB