Google Sitemap not verifying - error 200 ?

Discussion in 'Google Sitemaps' started by poseidon, May 7, 2006.

  1. #1
    hi,

    I have submitted my google sitemap and it asked me to upload the file which I created in public_html folder. Now when I tried to verify it, it gave me error,

    Verification status: NOT VERIFIED
    We've detected that your 404 (file not found) error page returns a status of 200 in the header.

    This is the first time, I have faced this problem and I am not sure what is the problem. Can anyone help me
     
    poseidon, May 7, 2006 IP
  2. Matts

    Matts Berserker

    Messages:
    195
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #2
    What G is saying is that they requested a file known not to exist on your machine, and your server returned a HTTP Status code of 200 OK -- meaning it found it. So say they requested:
    http://www.your-site.com/this-aint-there-912AHD81ja88A
    Your site returned content for that page, along with an 200 OK.

    It's alright to return content, but the status the server returns should be:
    HTTP/1.1 400 Not Found

    If your running Apache, there is an ErrorDocument directive that you can point to a page to send when pages aren't found, and send the correct status.

    I checked the two sites in your sig, and they both return the proper 404 Not Found.

    See: http://www.php-faq.com/httpstatus.php
     
    Matts, May 7, 2006 IP
  3. doronty37

    doronty37 Active Member

    Messages:
    130
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    try to verify with meta tag method.
     
    doronty37, May 7, 2006 IP