[resolved] wordpress creating blank index.html file? (3 posts)

  1. digitalsingularity
    Posted 4 years ago #

    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.


  2. imtop10
    Posted 4 years ago #

    Go to dreamhost control panel and set index.php as highest priority

  3. digitalsingularity
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic