How to set the default index page with htaccess
This web hosting tutorial shows you how to set the default index page with htaccess using our advanced Hepsia web hosting control panel. This video tutorial is also available inside the OzeVision Web Hosting control panel under Help/Video Tutorials.
By default, when you open a website, you will see the contents of the index.html or the index.php file. With .htaccess, you can set any of your files to act as an index file.
First, set the folder in which the .htaccess file will be created, using the .htaccess location form at the top of the page. A click in the form field will open a pop-up window, from where you can browse to the desired website folder.
Then, go to the default index page menu. In there, mark the Set Directory Index: checkbox. In the form field, type in the name of the file, which you wish to be opened when the page is visited.
Once you are done, scroll down to the bottom of the page and click the "Generate" button. The newly created .htaccess file will take effect in up to 15 minutes.
Tags: default index page, hepsia control panel, how to, htaccess, index page, set index page, web hosting tutorial