Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    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!

       header("HTTP/1.0 404 Not Found");
    <meta name="robots" content="noindex, nofollow">
    <TITLE>Page Not Found</TITLE>
    bla bla
    Last edited by jamesplato; 08-17-2006 at 05:49 AM. Reason: title not clear


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts