Moving a WordPress installation to a new directory
This guide is particularly handy if WordPress was originally installed in a subdirectory and you wish to move it to your main domain. While we do provide this guide to you, third party applications do fall outside the scope of our Technical Support. We recommend contacting your developer, or the WordPress community for direct assistance.
Important: Please use these instructions with caution. If you already have a website in your public_html folder (or have WP currently as an addon/subdomain), things may break!
If in doubt, please contact us before proceeding.
- Log into your WordPress dashboard (the wp-admin area).
- Click Settings on the left navigation menu bar.
- Change the WordPress Address and Site Address fields to wherever you’re moving the site to. For instance, you might simply take out the ‘wp’ at the end of the URLs.
- Log into cPanel, then select the File Manager. If prompted, select the public_html folder and click Go (otherwise, just click public_html when File Manager loads).
- Double click on the folder with WordPress in it (wp for instance) to open the folder.
- Select all of the files and folders (click ‘Select All’), then click Copy.
- Change the path as you need to. Keep in mind the public_html is equivalent to www.yourdomain.com and needs to be in the path. If you’re moving it out of the wp folder, just take out the wp. Click Copy File(s).
- You should be all set! The original files are still there (in the subfolder), just in case anything went wrong and you need to re-copy them.