Support » Fixing WordPress » google says my 404 page gives 200

  • Resolved arindra


    Hi, this is what i have in my 404.php ( using the Blix theme)
    <?php get_header(); ?>

    <!– content …………………………… –>
    <div id=”content”>

    <h2>Error 404 – File not Found</h2>

    Sorry, but the page you were looking for could not be found.

    </div> <!– /content –>
    <!– SiteSearch Google –>
    <form method=”get” action=”” target=”_top”>
    <table border=”0″ bgcolor=”#ffffff”>
    <tr><td nowrap=”nowrap” valign=”top” align=”left” height=”32″>

    <img src=”” border=”0″ alt=”Google” align=”middle”></img>

    <input type=”hidden” name=”domains” value=””></input>
    <input type=”text” name=”q” size=”20″ maxlength=”255″ value=””></input>
    <td nowrap=”nowrap”>
    <input type=”radio” name=”sitesearch” value=”” checked=”checked”></input>
    <font size=”-1″ color=”#000000″>Web</font>
    <input type=”radio” name=”sitesearch” value=””></input>
    <font size=”-1″ color=”#000000″></font>
    <input type=”submit” name=”sa” value=”Search”></input>
    <input type=”hidden” name=”client” value=”pub-xxxxxxxxxxxxxxxx”></input>
    <input type=”hidden” name=”forid” value=”1″></input>
    <input type=”hidden” name=”channel” value=”xxxxxx”></input>
    <input type=”hidden” name=”ie” value=”ISO-8859-1″></input>
    <input type=”hidden” name=”oe” value=”ISO-8859-1″></input>
    <input type=”hidden” name=”cof” value=”GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;”></input>
    <input type=”hidden” name=”hl” value=”en”></input>
    <!– SiteSearch Google –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Early everything was fine , but now … google gives ” Verification Error ” in its Webmaster Tools > Sitemaps options .
    Additionally it gives this message :

    We’ve detected that your 404 (file not found) error page returns a status of 200 in the header.

    I have checked by typing something like which is not a real page and checked from other services that page doesnt generate a 200 header but a 404 only.
    Can anyone else shed some light on this problem ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • anyone can help ?

    i’ve the same problem and i think a lot of person have this problem…you can verify the site after you have rename/delete the htaccess, but when google retrieve the verification file you have the same problem

    You have to send a header before sending text.

    header (‘HTTP/1.1 404 Not Found’);

    You can verify your header on this page:

    My header return 404 for non existent pages and 200 for the existent pages….i already check this.
    The problem is another, and i don’t know how can solve it.



    yipppeee , this is now RESOLVED ….. the answer was in Disabling the WP Ratings plugin … which was mentioned inanother smmilar topic , mentioned by some member Ottooo and followup by macromail 😀
    thanks you 2

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘google says my 404 page gives 200’ is closed to new replies.