index.html and index.php

Discussion in 'General troubleshooting' started by canann, Jan 25, 2012.

  1. I have changed my first page from index.html to index.php (it is now a php page). It does not get recognized when the site is accessed.
    What do I have to do to make it work for both the index.html and index.php?
     
  2. You can either connect via IIS Manager and edit the Default Documents, which allows you to specify which pages have priority, or you can do so by making changes to your web.config, and adding the "index.php" to the default documents.

    I believe index.php should work by default, but if you're having issues, would you be able to post the URL or PM it to me?
     
  3. Thanks I installed the iis manager : and added the index.php document : do I leave it as local or should it be inherited?
     
  4. Inherited should be for when you want to apply the same setting to subdirectories. It's entirely up to you.
     

Share This Page