Main Page / Browse Categories / Web Hosting / How do set my default page to something other than index.html
How do set my default page to something other than index.html

Create an .htaccess file in your public directory or the directory that you want to change the default and add the following line:

DirectoryIndex filename.html

[change filename.html to the file name that you want to use as the default]



User Comments
How do set my default page to something other than index.html
Add Comment
There are no user comments for this topic.
Add Comment
Additional Info
General Information
Article No. 45
Created: 03:22 PM 04.29.03
Author: HPU Support

Attachments
No attachments.

Did this help you?
Yes No

Statistics
Yes721 (51%) Voted Yes695 (49%) Voted NoNo

Other Options
Print Article
Email Article

Related Articles
How soon will my account be setup?
Is my access 24 hours a day?
Where are your servers located?
What is a Web User?
Where do I upload your web pages and related files?