
: The process itself isn't that hard. In your WordPress General settings you will have to change site address to the new directory. I am assuming this will be your root directory (http://yoursite.com).
The process itself isn't that hard. In your WordPress General settings you will have to change site address to the new directory. I am assuming this will be your root directory (http://yoursite.com).
After that, copy your index.php and .htaccess from the existing WordPress directory (http://yoursite.com/blog) into your root directory. Make sure you copy these, as opposed to moving them.
Open the new index.php (the one in your root directory) in an editor and change require('./wp-blog-header.php'); to require('./blog/wp-blog-header.php');
You will still login with the old URL, yoursite.com/blog/wp-admin/ but your site should now be available at yoursite.com.
I hope this helps! If you need more information, see the link that John Watson supplied: Giving WordPress Its Own Directory.
More posts by @Shelton105
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.