Mobile app version of vmapp.org
Login or Join
Shelton105

: 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).

@Shelton105

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.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme