ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Index Page

May 28, 2008 4:09pm

Subscribe [2]
  • #1 / May 28, 2008 4:09pm

    mwdesign

    39 posts

    Hello everybody,

    I’ve installed Expression Engine in its own directory, not in the root domain directory, like this: “http://www.example.com/blog/index.php”.

    If its main/index page in that directory is named “index.php”, do I also need an “index.html” page with a redirect to the “index.php” page?

    If I don’t use an “index.html” page in the directory, will browsers automatically load “index.php”, or will users see an open directory? How can I ensure browsers will always, without fail, load “index.php”?

    Thanks everyone!

  • #2 / May 28, 2008 4:23pm

    Ingmar

    29245 posts

    No, you don’t need a redirect. You can actually configure what your server returns if you access the URL as such, or a subcategory. “index.html”, “index.htm” and “index.php” are loaded by default, if I remeber correctly. So, yes, your server should automatically serve index.php in the absence of index.html. Just try it out, if you like.

  • #3 / Jun 04, 2008 12:29pm

    mwdesign

    39 posts

    Thank you!

  • #4 / Jun 04, 2008 12:42pm

    Ingmar

    29245 posts

    Glad you’re all set. Closing.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases