I have been testing a WordPress installation in a subdirectory, but now want to run it from my root directory.
Do I need to do a new install, or can I just change a few pointers?
I have been testing a WordPress installation in a subdirectory, but now want to run it from my root directory.
Do I need to do a new install, or can I just change a few pointers?
Assuming wordpress is in folder called 'wordpress'
Delete the /wordpress from the end of your Blog Address (URL) in Options->General.
Put this index.php in your web-root folder
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');
?>
This particular setup is described at: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Thanks for that. It worked very sweetly.
This topic has been closed to new replies.