Q. How to Change Default Index Page in .htaccess? How to Set default index page using .htaccess? How to configure the specific page to use as default page with .htaccess?
This tutorial will help you to change default index page in the .htaccess file. To do this first make sure you are using Apache web server and you have enabled .htaccess for the virtual host. Let’s edit the .htaccess file on your website document root and add a DirectoryIndex entry followed by file name. Now Apache will use this file as your default file.
#Default index pageDirectoryIndex home.html
You can also define more than one file like below. In this Apache will serve one of below file default file.
#Multiple default index pageDirectoryIndex home.html index.html index.php index.htm