How to change default web page using htaccess?

Use the following htaccess code to change the default web page or to set a custom webpage as the default page for your website. For example in the code below, the default page is set as about.html instead of index.html

# serve alternate default index page

DirectoryIndex about.html
Posted by: - Sun, Mar 14, 2010. This article has been viewed 3074 times.
Online URL:

Powered by PHPKB (Knowledge Base Software)