How to change default index page to something else like other .html file from .htaccess?

Hello Friends!!!

How can I change the default index page of my website?
How can I change the default index page of my website?

How to change default index page to something else like other .html file from .htaccess? [Important| Revised 2019]

In order to change the default index page to some other .html, .php you have to edit a code in .htaccess file [Updated June 2019]

DirectoryIndex index.html index.php

or 

DirectoryIndex index.php index.html 


You can adjust the priority accordingly. Suppose if you want index.html file to act as a homepage of your website then you can choose code 1 or else you can choose the 2nd code.

 

That’s how simple it is. If you however still are not able to get this done, contact us so we can work a way out. Hope this helps you!!!

Thanks for Reading!!!!


Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting

Scroll to Top