As a general rule, an index.html file will override an index.php file. So, you could use a domain parking theme, for instance Ice Breaker or Launchpad while you create the site, and then switch themes when you have everything completed. You can still edit your theme and content, it just won’t show up while you have the under construction theme.
But I am unable call the index.php file directly so something in wordpress is redirecting index.php to / and / is handled by index.html.
I am not able to switch themes as that is part of what I am working on.
What can I edit to stop the redirect and allow me to view index.php
There are no DirectoryIndex rules in place in httpd.conf or .htaccess.
this is exactly what i want to find out
Typing in /index.php redirects to / because it is exactly the same thing. If you want to have it be live while you edit it, you should move it back to your subfolder. You can’t have multiple index files, whether they be .html, .xhtml, .phtml, .shtml, .php, .php5, or anything else. The index is, well, the index file, and you can only have one.
So, again, if you want it to be live while you edit it and have your static content show to your visitors, you should have your wordpress installation be in a subfolder and have your static files in your root directory.
BTW, you can still preview the theme even though it’s not the main theme. Just go to the themes tab and find your theme and click “preview”.
but shouldn’t there be a way with htaccess to maybe rename the index.html to something else and have that file be loaded by default, while still being able to call index.php for wordpress editing purposes?
but shouldn’t there be a way with htaccess to maybe rename the index.html to something else and have that file be loaded by default, while still being able to call index.php for wordpress editing purposes?
No – I gave you a solution in your duplicate thread
http://ww.wp.xz.cn/support/topic/366597?replies=3
I’m closing this thread so move it over there