default to index.html but allow user to type to index.php and get the php page -


i'm busy building wordpress website client. i've developed site off-line , upload live server show client i've done far. want keep "under construction" html page i've create default when browsing site if type in www.sitename.com/index.php want actual site displayed.

i don't want use "under construction" plugin don't want user have enter form of username or password gain access site.

i have tried: directoryindex index.htm browse index.php flips me index.htm page.

i've had here: make index.html default, allow index.php visited if typed in unless i'm missing it, there's no real conclusion.

my development machine runs windows 8 xampp.

use in .htaccess file redirect user index.html when types domain name, if types index.php, able on page

rewriterule ^$ index.html [r=301,l] 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -