Monday, October 11, 2010

How to change the default page using .htaccess

To change the page that will be displayed when a visitor access a directory, write:

DirectoryIndex

Example :

DirectoryIndex home.html

You can also specify several pages as under

DirectoryIndex index.shtml index.php index.php3 index.html index.htm

No comments: