Page 1 of 1

Open index.php

Posted: Thu Jan 12, 2012 12:33 am
by Stela
Hello…

How can I tell my server to open index.php instead of index.html?

Thank you.

Re: Open index.php

Posted: Thu Jan 12, 2012 1:56 am
by jayson.ph
create new index for html, i mean separation index for html.

Re: Open index.php

Posted: Thu Jan 12, 2012 2:13 am
by Stela
Sorry, didn't understand "separation index for html"

Re: Open index.php

Posted: Thu Jan 12, 2012 7:23 am
by Tiancris
If your server is Apache, you can change the priority order adding this line to an htaccess file:

[text]DirectoryIndex index.php index.html[/text]

Re: Open index.php

Posted: Thu Jan 12, 2012 9:44 pm
by Stela
Thank you!

Re: Open index.php

Posted: Fri Jan 13, 2012 7:33 am
by Tiancris
:D