How to Move WordPress From Sub to Root
WordPress blogging software can be installed in the root directory of your website or in a subdirectory on the site. When WordPress is in the root directory, it can be accessed directly by typing http://www.yourdomainname.com but if it's in a subdirectory, that directory must be specified in the URL to access the blog. For example, if your WordPress blog is in a subdirectory called "blog," the URL would be http://www.yourdomainname.com/blog. If your blog is the main content on your site, you can move WordPress from a subdirectory to the root directory.
Instructions
-
-
1
Open a browser window and go to your WordPress blog. Log into the blog and click "Settings" in the Dashboard.
-
2
Enter the root URL of your site in the "WordPress Address (URL)" text box. Enter the root URL of your site in the "Blog Address (URL)" text box. Both URLs should be the same. Click "Save Settings." For example, your root URL is http://www.yourdomainname.com.
-
-
3
Open an FTP client and log into your site. Navigate to the directory where the WordPress files are stored and download all files in the subdirectory to a folder on your computer.
-
4
Navigate to the root directory of your website in your FTP client and upload all the WordPress files you previously downloaded to the root directory.
-
5
Open a browser and navigate to the root URL of your site. Log into your WordPress blog.
-
1
Tips & Warnings
If you have custom Permalinks, click "Permalinks" under "Settings" and modify them with the new root directory URL.