Change Default Page

By default, when a visitor types your domain name in their browser, the “home” or “index” file will be displayed- for instance “index.html” or “index.php”.

You can change the default index page by inserting the following code in your .htaccess file:

DirectoryIndex underconstruction.html

In the above example, the “underconstruction.html” page will be displayed by default. This can be changed to any filename you wish.

You can also insert this code in any .htaccess file in any directory you wish to change the default page for any specific internal folder.