Also, you may have to ask your hosts, but most servers will work on a fall-back system for the home page of a site, so if you have a file that’s called ‘index.html’ it will take preference over ‘index.php’. If you do this you’ll still be able to access the WordPress areas of the site for everything except the home page.
Thanks for the replies !
Tara : as far as i understood, in the codex “Creating a Static Front Page” it is not mentioned what about the case when there is an external index.html page. What it is talking about, is already my case, i have a static homepage which is generated inside WP. My question now is : how can i let a self-created plain html page beeing the homepage without moving the whole WP content in a subfolder.
Catacaustic : OK, i will try it ! But if i do it and does not work, will i loose something ?
Thanks again !
You won’t loose anything unless you overwrite/delete any of the existing WordPress files. As long as you’re only uisng index.html
that won’t happen.
What @catacaustic is referring to is the DirectoryIndex listing configuration. Depending on your server configuration (if it’s Apache and the host will allow overrides in .htaccess), you should be able to add this to .htaccess.
DirectoryIndex index.html index.php
However, unless it’s very particular need, I’d recommend that you convert your static html page into a WordPress page and set it as the “static” home page.
Thanks for your reply @catacaustic and @scriptrunner ! Sorry for the late reply but i was too busy with my website but i do not like to let people without answer, especially when I was who asked a question… finally i have had to delete my blog and i reinstalled all in a subfolder. This is the clearest solution : i have my index.html now as home page and i have the blog part which has its default index.php. I just had to give the same design to it solved in the child theme header/footer/style…
Thanks again !