Welcome Guest, Not a member yet? Register   Sign In
Sending 404 status code with error page
#1

[eluser]david_ais[/eluser]
I have discovered that the 404 error page returned by CI is returned with a status code of 200 instead of 404.

That might seem like a minor point. But it means for example that the error page will get index by Google instead of being ignored at it would if it the correct status code had been returned.

Can anyone suggest how to arrange to return a 404 error code with the error page instead of the default 200 status code?

Regards

db


Messages In This Thread
Sending 404 status code with error page - by El Forum - 11-06-2007, 06:10 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 08:00 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 09:21 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 09:58 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 10:39 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 10:53 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 11:35 AM
Sending 404 status code with error page - by El Forum - 11-06-2007, 03:56 PM
Sending 404 status code with error page - by El Forum - 11-06-2007, 04:56 PM
Sending 404 status code with error page - by El Forum - 11-06-2007, 07:46 PM
Sending 404 status code with error page - by El Forum - 11-07-2007, 08:48 AM
Sending 404 status code with error page - by El Forum - 12-02-2008, 04:47 PM
Sending 404 status code with error page - by El Forum - 01-30-2012, 01:10 PM
Sending 404 status code with error page - by El Forum - 01-30-2012, 02:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB