Index.html vs Index.php question

by 1 replies
2
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.
#website design #indexhtml #indexphp #question
  • You could edit your htacess and add the line:

    Code:
    DirectoryIndex index.html
    But why not just install wordpress on a separate directory?

Next Topics on Trending Feed

  • 2

    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?