PHP_student
Nov 13 2009, 12:04 AM
I know this can be done with .htaccess I just don't know how.
I want it so when I type in my site's URL it will take me not to index.php but home.php
xiaomao
Nov 13 2009, 07:50 AM
QUOTE(PHP_student @ Nov 13 2009, 12:04 AM)

I know this can be done with .htaccess I just don't know how.
I want it so when I type in my site's URL it will take me not to index.php but home.php
Add this to .htaccess
DirectoryIndex home.php
PHP_student
Nov 14 2009, 01:29 PM
It work for a few hours, but then went back to index.php
imkingdavid
Nov 15 2009, 09:49 PM
Make sure it's still in .htaccess as you entered it above. There's a possibility that somehow your .htaccess file got overwritten or something.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.