Forum Moderators: coopster

Message Too Old, No Replies

Naming index.php

         

Kysmiley

1:22 am on Nov 22, 2004 (gmt 0)

10+ Year Member



Is there anyway to use php on a ain index page so it can be loaded with just calling the main dir like www.domain.com/
Pat

TimM

2:08 am on Nov 22, 2004 (gmt 0)

10+ Year Member



Yes.

Most hosts will have index.php set as a default page, so if you name a page index.php and delete other pages like index.html, it should work.

If it doesn't, you'll need to ask your host to add "index.php" as a default page.

Hope that helps

- Tim

Kysmiley

2:32 am on Nov 22, 2004 (gmt 0)

10+ Year Member



Thanks it worked i did a test page and just named it index.php and it loaded fine, without typing in the index.php part into the url
Pat