Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
08-17-2006, 05:47 AM #1
- Join Date
- Jul 2006
- Thanked 0 Times in 0 Posts
404 error page header showing as 200 status
I thought I would share a solution I just implemented. If you are using a Godaddy custom error page it might up as 200 instead as 404 in the header. This is especially true if you use 404.html as they suggest. Solution? Create a page 404.php with below snippet. Problem solved!
<?php header("HTTP/1.0 404 Not Found"); ?> <html> <head> <meta name="robots" content="noindex, nofollow"> <TITLE>Page Not Found</TITLE> </head> bla bla
Last edited by jamesplato; 08-17-2006 at 05:49 AM. Reason: title not clear