• Ambyomoron

    (@josiah-s-carberry)


    There is, of course, no index.html in the base directory of a WordPress installation. So, when the error log of the web server reports:

    Negotiation: discovered file(s) matching request: /mysite/index.html (None could be negotiated)

    it is indeed correct. HOWEVER, whyever is there any attempt to open index.html???

    1) I have disabled plugins and found that they are not the cause.
    2) I see the error messages in the log when I supply the url https://mysite.com and https://mysite.com/index.php
    3) The messages appear when I connect to the site from various browsers on different platforms.

    I don’t know if this is a browser issue, a wordpress configuration issue or what.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Yui

    (@fierevere)

    永子

    WordPress does not have, does not supply and should not have index.htm or index.html

    If you are using Apache set in your httpd.conf or local user .htaccess file the following directive (on top of the .htaccess file):

    DirectoryIndex index.php

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Thank you for that. It does indeed stop the the errors in the log. However, it does not explain why those errors appeared even if the requested URL specifies the file to open, for example, //mysite.com/index.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘index.html not found in Apache error log’ is closed to new replies.