UK Web Hosting LiveChat Software

How to Set Default Index Documents with .htaccess ?

0 votes
asked 10 months ago by whukadmin (5,950 points)
edited 10 months ago by whukadmin

1 Answer

0 votes
In order  set the default documents or "index" documents for your Linux-hosted web site, create an .htaccess file and upload it to the root folder for your domain (see Web Hosting: Upload Files to Web Hosting Account), or add the following to an existing .htaccess file:
DirectoryIndex  index.html  index.htm  index.php
You can modify the above example to include the name(s) of the default document(s) you would like to use.
answered 10 months ago by whukadmin (5,950 points)

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked 2 months ago by whukadmin (5,950 points)
0 votes
1 answer