Help - Search - Members - Calendar
Full Version: Changing The Main Page Name?
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
PHP_student
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
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
It work for a few hours, but then went back to index.php
imkingdavid
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.
Invision Power Board © 2001-2012 Invision Power Services, Inc.