• skiva2u

    (@skiva2u)


    I left over a index.html file on my domain during the WP installation. Since then, my WP site will not load if I removed the index.html file.

    I wish to take away this index.html file, and allow my visitors to load my WP site straight way.

    Any solution?

    Thank You!

Viewing 3 replies - 1 through 3 (of 3 total)
  • MichaelH

    (@michaelh)

    Solution 1
    If allowed by your host, putting this in an .htaccess file could solve the problem:
    DirectoryIndex index.html index.htm index.php

    Solution 2
    Some hosts allow you to make a change, via their hosting control panel, to the DirectoryIndex. It’s typically described as Indexes or Index documents, but may also require you to type something like
    DirectoryIndex index.html index.htm index.php
    or specify index.php as an index type file.

    Solution 3
    Instruct Apache to treat index.php as an index file. If you own the server, or have access to the http.conf file, simply modify the DirectoryIndex line in httpd.conf to:
    DirectoryIndex index.html index.htm index.php

    Solution 4
    Contact your host

    Thread Starter skiva2u

    (@skiva2u)

    That is very straight forward & informative.
    Thank you so much!

    Thread Starter skiva2u

    (@skiva2u)

    I have the access to .htaccess, just did a check & found this in it.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /skiva/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /skiva/index.php [L]
    </IfModule>

    # END WordPress

    Anything else should I edit besides adding

    DirectoryIndex index.html index.htm index.php

    TQ!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress won’t load without index.html file, help!’ is closed to new replies.