it simply won’t work
you can’t have 2 index files as one or the other simply won’t get called
I would suggest installing WP locally
http://tamba2.org.uk/wordpress/xampp/
or
install WP in a folder on webhost
then move to root when ready
http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site
Thread Starter
Barry
(@barryamundson)
Thanks for the thoughts on this.
I don’t want to use another index file – just default to the one that is there, so I can keep the current html files in the same directory.
I am developing it in a dev subdomain right now on the server, and can move it. The reason I want to do this is because I want to hook up all the things that need APIs — facebook, twitter, feedburner, google analytics, rather than scramble to get those plugins setup when I go live. I arrived at this strategy because of some issues I had with getting Twitter tools running via the new API on another site.
But, yeah, perhaps I am approaching this wrong and maybe should have been developing from a folder on the live site and getting everything working there, and moving it to the root. I suppose the different APIs wouldn’t care about moving the install from a subfolder rather than from domain.
Thanks again
Thread Starter
Barry
(@barryamundson)
Well, for better or worse, I accomplished what I set out to do using:
- Redirection plugin – create rule for all logged-in users to go to /index.php at home, and all non-logged in users are sent to /index.html
- Disable Canonical URL redirection plugin
- and adding this on the first line in the .htaccess file to reorder html and php in order to have wordpress and the above plugins take over:
DirectoryIndex index.php index.html
Going to move it over to the live site and see how that goes — once I go live I’ll disable each of these plugins and erase that line from the .htaccess file.
But, I don’t think I’ll try this again, It just so happens that I think in this particular setup I have going it’s going to be easier, but in the future I think I’ll develop in a subfolder and move it over when going live.