Index.html vs Index.php question

1 replies
  • WEB DESIGN
  • |
If index.html and index.php are on the same root folder, but I want people to only see index.html and not index.php (also the search engines as well), how do I do this?

Is this set automatically so I don't have to worry about visitors or people visiting the index.php?

I plan to install wordpress to the root folder, and I already have an index.html which I don't want to change. Will this affect it? Thanks.
#indexhtml #indexphp #question
  • Profile picture of the author ninal
    You could edit your htacess and add the line:

    Code:
    DirectoryIndex index.html
    But why not just install wordpress on a separate directory?
    Signature
    Hello
    {{ DiscussionBoard.errors[2068505].message }}

Trending Topics