Viewing 6 replies - 1 through 6 (of 6 total)
  • No. WP has no index html file. But on some servers the default is to open the html file not the php file. You might need to change it or park the html somewhere else. Either way it will be redundant. WP only has one file at the front end.

    Hi,
    If I install it in http://www.mydomain.com then how to I access my blog page?
    You wrote:
    “You might need to change it or park the html somewhere else. Either way it will be redundant.”
    In other word,I will not be able to access my index.html file anymore right? The main page will
    become my blog page with the php extension.
    Please try to explain to me in a layman way,as I am not too techie in this aspect.
    Regards
    Lo

    When a browser arrives at http://www.whereryourstuffis.com the server will serve an index page. If that is index php then that will be it. If there are 2 indexes and one is html and one is php the order the server will select them in depends on the server but as a general rule it will be the html first. Thus to make index php run it is best to remove any other index files unless you can persuade your host to reorder it. But as I said either way if you want WP to run it needs to open index php one way or another. And if any more of your stuff is in the same directory you are going to lose access to it – at least directly.

    Hi
    Thanks for your answer.
    If I decide to create it in a directory e.g http://www.mydomain.com/blog
    does the directory name preferably be name “blog” or I can name it whatever I want.
    Do you have any suggestions?
    Regards
    Lo

    You can call the directory anything you would like 🙂

    And just to clarify WP can be installed in a sub directory. All references to the root dir should be construed as the root of your WP install. And many of us do indeed have a sub dir called – imaginatively – blog 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘WordPress over-write my index.html file’ is closed to new replies.