Apr 24 2014 
Support Center » Knowledgebase » How do I make index.php the default index file for my website?
 How do I make index.php the default index file for my website?
Solution If you remove index.html, other files with index.* will show up in its place. So, if index.php is the only file named index.* in public_html, it will show.

Alternatively you can create a file called .htaccess in your public_html directory that contains this line:

DirectoryIndex index.php

Make sure to remove that line from .htaccess if you no longer wish to see index.php when viewing your website.


Article Details
Article ID: 206
Created On: Mar 04 2009 04:10 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase
Language:

Help Desk Software By Kayako eSupport v3.60.02