
The code below shows how you can define an alternative default index page. Note that the code should go in the .htaccess file in your desired directory.
The Code
1 2 |
# serve first available alternate default index page from series, priority left to right DirectoryIndex main.php secondoption.php |