Frequently asked questions

Back
Keyword:  

I have an index.html and an index.php file. Which is displayed?
If your web hosting package, www.example.com, supports PHP (Medium or larger), the index.php is displayed upon entering http://www.example.com. To view index.html, people must go directly to the page, for example by entering http://www.example.com/index.html.

Here is the web server file priority list:

  1. index.cgi
  2. index.asp
  3. index.php
  4. index.shtml
  5. index.html
  6. index.htm
  7. index.wml
  8. index.pdf

It is possible to override this in a .htaccess file by setting DirectoryIndex to the file names you want to use as standard. See also the DirectoryIndex documentation for Apache.

See also:

© 2024 Domeneshop AS · About us · Terms · Privacy policy