Support » How-To and Troubleshooting » [Resolved] wordpress creating blank index.html file?

[Resolved] wordpress creating blank index.html file?

  • Hi there. I have a wordpress installation that’s hosted by dreamhost. I installed wordpress in my domain’s root directory. WordPress uses index.php, by default, and the domain will point to that file… usually.

    Every once in a while (it feels like every time I update a plugin or theme), a blank index.html file will be created in my root directory. When this happens, when someone goes to the domain, all they get is a blank page. How do I stop wordpress from creating a index.html file? It’s easy enough to fix… I connect to the dreamhost shell server and remove the 0 byte index.html file, but this is getting annoying.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Go to dreamhost control panel and set index.php as highest priority

    Aw, thanks. I didn’t know what to look for. I didn’t really find it in Dreamhost’s control panel, but after you gave me a clue as to what I should be looking for, I added the following line to my .htaccess file “DirectoryIndex index.php”.

    Seems to do the trick, even with a index.html file that’s 0 bytes in place.

    Now, any clue as to why updates keep on putting a blank index.html file in my root directory? Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] wordpress creating blank index.html file?’ is closed to new replies.