Welcome Guest, Not a member yet? Register   Sign In
Spicing up error pages (404, DB, etc)
#2

[eluser]Sarre[/eluser]
How about using a header redirect in that error_404.php file?
That way you can redirect to whatever controller you wish...

So change
Code:
header("HTTP/1.1 404 Not Found");
into
Code:
header("location:http://url");
It's probably not the best (most CI) way of doing it, but it works.


Messages In This Thread
Spicing up error pages (404, DB, etc) - by El Forum - 01-02-2008, 10:23 PM
Spicing up error pages (404, DB, etc) - by El Forum - 01-14-2008, 03:51 AM
Spicing up error pages (404, DB, etc) - by El Forum - 01-25-2008, 11:25 PM
Spicing up error pages (404, DB, etc) - by El Forum - 01-26-2008, 01:31 AM
Spicing up error pages (404, DB, etc) - by El Forum - 01-26-2008, 12:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB