Article Diary - General Knowledge Digest

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
3 (1)
Article Rating (1 Votes)
Rate this article
Attached Files
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed
Open Source Online Invoice System - siwapp
Viewed 1457 times since Thu, Jan 7, 2010
Before and After Picture - jQuery Plugin
Viewed 1449 times since Tue, Dec 29, 2009
Web Form Elements in PSD Format
Viewed 1153 times since Sun, Dec 27, 2009
Google Maps jQuery Plugin - gMap
Viewed 1445 times since Mon, Feb 8, 2010
mbSlider - Highly Customizable Content Slider
Viewed 1084 times since Mon, Jul 26, 2010
Open Source Trouble Ticket System - Jutda Helpdesk
Viewed 1994 times since Sat, Jan 9, 2010
25 Graph & Chart Solutions For Web Developers
Viewed 33710 times since Mon, Feb 1, 2010
Free Under Construction Coming Soon Template
Viewed 2061 times since Sat, Mar 12, 2011
Meerkat - jQuery Plugin for Promotional Content
Viewed 1194 times since Tue, Dec 29, 2009