Portal Home > Knowledgebase > Site related HOWTO's > How to change your default page


How to change your default page




Our server is set up so that the server will look for the page to display in a certain folder in the following order:

  • index.php
  • index.htm
  • index.html
  • index.shtml
  • index.pl
  • index.cgi
  • default.htm
  • default.html
  • Default.htm
  • Default.html

You can change that order by using an .htaccess file, placed in the folder where you want this change to occur. If you wish to change the order for your entire site then place the .htaccess file in your public_html folder. That file must have this line in it:

DirectoryIndex filename.html index.cgi index.pl default.htm

If you need more information then please do not hesitate to contact us at support@solid-hosting.net.
 



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read