.htaccess - take index.html Set to the default value, but if you type, access is allowed index.php

I have the following line in my .htaccess file:

DirectoryIndex index.html index.php

Everytime I go to index.php it takes me to index.html. Is it possible to allow for both, but leave index.html the default for users visiting www.domain.com?

This question and all comments follow the "Attribution Required."

All Answers

Answers Loading...
Leave a Reply
You must be logged in to post a answer.
About the author