This article provides you with information on how to move your WordPress website to a new server/host or domain.
If you already have a WordPress website up and running on another web host, moving it to a new hosting provider can be a little intimidating at first. Lots of people have questions: How do I get started? Will my site go down while I’m moving it? What do I do to make sure I don’t lose any files? Well, we’ve put together a guide to help you out.
Step 1 – Verify that your current site is working
Open your current WordPress site and check that everything is working.
Step 2 – Download the files and database of your website
First, you need to create a backup of your website, both your web space files and your database.
Download the files of your website to your computer and save a copy of the files in a separate folder on your computer to keep as a backup. Please see the articles below on how to complete this.
How to Export your MySQL database
How to Backup and Migrate your website to a new cPanel
Step 3 – Upload files to your new domain
For Windows Plesk, you are able to import website files as per the article here.
Uploading files to cPanel
- Login to your cPanel and navigate to File manager.
- Click on public_html then select Upload
- Upload the file from your local computer by clicking Select File
Step 4 – Import your database
Please see the article on how to complete this step by clicking here.
Step 5 – Go to wp_options and update siteurl
***This is optional if you are moving your site to a new domain name
- Once your database has been imported, locate the table called wp_options in the menu to the left.
Step 6 – Update connection details in wp-config
- You now need to replace the login details from your host, with those of 1-grid
Step 7 – Fix permalinks (Optional)
If you experience that you get a 404 error when you try to open links on your site, the Permalinks are broken. Luckily it is very easy to fix this please see our article How to fix broken menu links.