Wordpress & DirectoryIndex (htaccess)

Associate
Joined
21 Oct 2008
Posts
1,679
Location
Mooching... in your house
right... so i'm developing a site with a WP (2.7) backend, but i'm not a fan of the idea of moving the wp installation around and the like so i'm developing it in place on its final server BUT i have an index.html in the directory which houses a holding page...

the idea was for the html file to take preference over the php then when i want to go live i can just delete it... however when i manually type in index.php for some reason it reverts to the html so I can't actually view the wordpress installation...

so then i thought, why don't i force the default pages? so in an htaccess file i put:

Code:
DirectoryIndex holding.html

and changed the holding page to that (holding.html) - this page gets served up fine but i still have the same problem, if i type index.php it pops back to the holding.html :confused:

any idea what i'm doing wrong?
 
Back
Top Bottom