Giving index.html priority over index.php

I have a wordpress site. Now the index page is index.php

Problem is that I don’t want the server to use the index.php as the default one, but instead the index.html.

Read More

the index.html is just a temp page (under construction) until the wordpress site is ready.

currently the domain gives precedence to index.php – How do i give it to index.html?

NOTE: I do not have an htaccess file in the root….
I believe you specify it in there?

Related posts

Leave a Reply

2 comments

  1. It depends on your server configuration for now, some .htaccess file you may not have access too. You can define/overrule this in your own htaccess using, for example :

    DirectoryIndex index.html index.php
    

    the priority depends on the order you set the filenames in that line