Hi. anyhelp would be much appreciated. I'm updating my html site into WP. I'm going to keep all the same .html file names. 1) some page files I want to just leave be. I don't want to enter into WP. I have some old sections I want to leave, and some root level pages. Can I have good old html pages coexisting with WP? they will be found and not overwritten into a 404 or something somehow by WP? 2) I have a lot of links to site/index.html I know how to use slugs to name other pages oldname.html. But can I name the index page index.html? Thanks much for your help!
Yeah youcan because WP is written i PHP so it has index.php, although browsers will open index.html instead of index.php (because of the default apache settings) though people can access index.php and it will work fine. If people type in http://www.yoursite.com/ they will go to index.html but if people type in http://www.yoursite.com/index.php they will go to wordpress
thanks for replying. So what I want is that my old html site will be completely replaced by WP, so that if someone types index.html, they will be taken to the main page of wp. I don't know if I have to do a permanent redirect or if I can name the "home" page index.html
If your server supports htaccess, use the following line to set a default index file: DirectoryIndex index.php index.html Code (markup): That means the server will look for index.php then index.html to use as the default index page for the site.