index.php loading without the user entering the filename

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 7, 2013   (RSS)

how do I make the index.php page the default page?  For instance, i want a user to be able to type in "www.edmundsassoc.com/new" and have it automatically bring up the page "www.edmundsassoc.com/new/index.php."  if the file was an html file, it would work like this, how do i make it work like this with my php page?

Jeff Saitz

Hi Jeff,

index.php/html is usually  the default page that loads on most servers, so what you have set up should work. On some servers it is different, is your hosting on an apache or IIS server? As IIS servers sometimes use  default.html/php/asp instead. I would check the documentation of your hosting provider to find out what the default page name is on your server.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com