frost Posted April 26, 2009 Share Posted April 26, 2009 Hi, I am currently working on a site that was built in html, I am installing wordpress to replace the current page. To minimize down time I would like to install wordpress and then let the client build up the site and then set it to live by removing the html files (301s of course). The problem is that the server is set up to read PHP files before HTML files. So as soon as I upload wordpress the index.php file takes the place of the index.html file. Is there a way to change that using htaccess or some other magic? Link to comment https://forums.phpfreaks.com/topic/155754-solved-make-html-file-load-instead-of-php/ Share on other sites More sharing options...
corbin Posted April 26, 2009 Share Posted April 26, 2009 http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex DirectoryIndex index.html index.php For example. Link to comment https://forums.phpfreaks.com/topic/155754-solved-make-html-file-load-instead-of-php/#findComment-819887 Share on other sites More sharing options...
frost Posted April 27, 2009 Author Share Posted April 27, 2009 Cheers. Link to comment https://forums.phpfreaks.com/topic/155754-solved-make-html-file-load-instead-of-php/#findComment-820012 Share on other sites More sharing options...
corbin Posted April 27, 2009 Share Posted April 27, 2009 Link to comment https://forums.phpfreaks.com/topic/155754-solved-make-html-file-load-instead-of-php/#findComment-820062 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.