View Single Post
Old 06-08-2016, 06:50 PM  
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
Quote:
Originally Posted by clickity click View Post
Hey,

I have a website that I don't wish to be made public yet. I have a "holding page".
It is mysite.com/index.htm

I would like to make a fancy wordpress site which I installed. It's address is mysite.com/index.php

The problem is if I go to the index.php it just loads the index.htm Does htm take precedence over .php?

How can I edit and view my new wordpress site but hide the root domain?
it shouldn't load index.htm file if you go to index.php (unless something somewhere defined or tells it to do so, which is not a default behaviour)

if you are going to yoursite.com/ and seeing index.htm that's what you wanted actually. your visitors can see your index.htm at yoursite.com/ and you can work on your index.php that your can preview by going to yoursite.com/index.php directly

index.htm may have a precedence - it usually defined in httpd.conf or can be added to .htaccess, or possibly could be somewhere in cpanel
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote