I have a website on a server. The homepage is example.com/index.php .
OK, I uploaded an index.html named file to the server (the root dir) and when I typed in my site's domain into the browser's URL bar, I was suprised, because the index.html page loaded.
(example.com->example.com/index.html) So not what I wanted.
My question: Why did that happen? Why does index.html have advantage over index.php?
See Question&Answers more detail:os