WordPress – Moving Frontpage into Root
When I started with the website, I had installed the blog, the gallery and so forth into its own directory – I made a static front page but this was mostly pointless. I looked up how to go about making wordpress the default without having to re-install everything – I found the answer on the wordpress support pages as follows:
To make WordPress available at http://mydomain.com just change in Settings->General, the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder):
<?php /* Short and sweet */ define('WP_USE_THEMES', true); require('./blog/wp-blog-header.php');?>
Then update your permalinks in Settings->Permalinks.
Also don’t forget to delete your existing index.html file.
| Print article | This entry was posted by Mauldor on February 5, 2009 at 1:30 pm, and is filed under Tech. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.


