.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."
Similar questions
- .htaccess - Use htaccess to redirect all index.php
- .htaccess - How to set the default page to home.php instead of index.html and index.php
- apache - Why? index.html Prior to index.php ?
- asp.net mvc - take index.html Set as default page
- Apache htaccess: prevent direct access to index.html
- More similar questions >>
All Answers
Leave a Reply