The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

McAffee Site Advisor (3 posts)

  1. mberger47
    Posted 5 years ago #

    The McAffee Site Advisor does not recognize 404 HTTP headers when there is a WordPress installation.

    This is how I know this:
    - I have a virtual server where I host 10-15 web sites.
    - I am able to get websites WITHOUT WP verified
    - Websites with WP get the following McAfee error "It appears that the Web site sustainablemontreal.ca (or http://www.sustainablemontreal.ca) 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. http://www.sustainablemontreal.ca/dsdf

    So, there is definitely something inside of WordPress that causes Mcafee not to recognize the 404 HTTP header generated by the web server. Is WP using a 303 redirect first, before generating a 404 error???

    Any help or workarounds would be greatly appreciated.

  2. Clayton James
    Posted 5 years ago #

    I'm not sure how relevant this is, but there may be something of value in this article:


  3. mberger47
    Posted 5 years ago #

    Thanks for the ideas. I tried adding each hack to the top of the 404.php file and neither worked.

    <?php header("HTTP/1.1 404 Not Found"); ?>
    <?php header("Status: 404 Not Found"); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic