I've spent hours researching this. Please do not refer me to links that I have already read and tried. I also have a request submitted to McAfee Support Forum: (McAfee Link)
Please, does anyone has any new suggestions or Ideas.
The McAffee Site Advisor does not recognize 404 HTTP headers when there is a WordPress installation.
FACTS:
- I am able to get websites WITHOUT WP verified
- Websites with WP get the following McAfee error "It appears that the Web site mydomain.com (or http://www.scotts2012gear) is returning an HTTP 2xx or 3xx status response code in the header of 404 pages. "
- These WP web sites all have proper 404 pages, ie.
WHAT I HAVE TRIED:
- I tried renaming .htaccess to .htaccessold and re-submitting (failed)
- I tried the suggestions from this link (404 pages)
I added the following to my header.php but they did not work :
<?php header("HTTP/1.1 404 Not Found"); ?>
<?php header("Status: 404 Not Found"); ?>
<?php ob_start(); ?>
- Downloaded CURL and checked the results:
C:\CURL>curl -s-D - -o /dev/null http://www.scotts2012gear.com/no-one-here.html
The CURL results clearly show that a 404 NotFound is returned.
HTTP/1.1 404 NotFound
Date: Thu, 16 Jun2011 02:56:05 GMT
Server: Apache
X-Powered-By:PHP/5.2.17
X-Pingback: http://www.scotts2012gear.com/xmlrpc.php
Expires: Wed, 11 Jan1984 05:00:00 GMT
Cache-Control:no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Thu,16 Jun 2011 02:56:06 GMT
Vary:Accept-Encoding
Transfer-Encoding:chunked
Content-Type:text/html; charset=UTF-8
Sincerely,
B.Rgds,
Scott