A Complete Guide on Moving the WordPress Core files into Root Directory

Step by Step Guide on Moving WordPress Core Files to Root Directory

Let’s get in.

1. Login to your blog, goto Settings > General enter the WordPress Address URL (http://www.yourdomain.com/your-directory-here).

Moving WordPress Core files into a DIrectory

2. Click the button save changes.

 don’t run your blog for now.

3. Secondly, login to your cpanel > File Manager.

4. If you are using multiple domains using the same hosting account then goto the root directory of the one blog for whom you’re trying to move the WordPress core files into another root directory.

5. Here, make a folder with the same directory which you’ve used in your WordPress Address URL before in the first step.

6. Finally, move all the wp- extension files and folders into the directory which you have just created in the step 5.

8. Save the file index.php and try running your blog now.

Congratulations we’ve done moving the WP core files into another root directory.

You should be happy that you are using WordPress, it makes a lot more easier to your blog, and don’t let you edit a couple of code.

1. If your blog is using permalinks, then goto Settings > Permalinks and update your permalinks once. This will automatically edit up your .htaccess.

Redirecting Media Files

1. Goto Settings > Update URLs

2. Add this URL as old: http://www.yourdomain.com/wp-content

3. Add this URL as new: http://www.yourdomain.com/your-directory-here/wp-content

4. Save Settings.

Thanks for reading.