FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: Prosis on January 18, 2006, 05:59:51 PM

Title: File Priority
Post by: Prosis on January 18, 2006, 05:59:51 PM
I was just wondering, I'm setting up a wordpress blog but I want it to be unveiled when it's done.  So I have made an index.html file saying "come back later".  But the wordpress script has an index.php and it has priority on the html.  Any way of changing that?
Title: Re: File Priority
Post by: sixthcrusifix on January 18, 2006, 08:42:26 PM
Quote from: Prosis on January 18, 2006, 05:59:51 PM
I was just wondering, I'm setting up a wordpress blog but I want it to be unveiled when it's done.  So I have made an index.html file saying "come back later".  But the wordpress script has an index.php and it has priority on the html.  Any way of changing that?

nope, maybe with .htaccess.

you could just rename the php file for now until it's done, unless you need it. In which case . . . .I dunno what does the index.php file do???
Title: Re: File Priority
Post by: x on January 18, 2006, 09:47:41 PM
in .htacces you can put a line that is something like DirectoryIndex index.html and that should solve your problems.

you'll have to google it to make sure thats the right code
Title: Re: File Priority
Post by: Evilsprouts on January 18, 2006, 10:56:27 PM
Stick "DirectoryIndex index.html" into your .htaccess file without the quotes I think that should work.
Title: Re: File Priority
Post by: Prosis on January 21, 2006, 06:54:12 PM
Thank you all! :D