Jump to content

[Sug] Rename index.php


Guest Coastie

Recommended Posts

  • 4 months later...

Why not just have index.html as well as index.php

.html will be recognised before .php

That is what I have at my site.

So if you ever find my site, you will notice you are taken to mysite.com/index.html, and from there you can navigate to the forums, which are stored at mysite.com/index.php

Link to comment
Share on other sites

The setting is controlled by Apache DirectoryIndex in httpd.conf, if I'm on the right lines. If index.php is before index.htm(l), it will check and see if the PHP file's there in the first place, then the HTML. Different hosts may have different settings for this.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...