FOR USERS LOOKING FOR A BEGINNER’S GUIDE TO MOVING A WEBSITE FROM ONE SERVER TO A NEW SERVER, PLEASE USE THESE INSTRUCTIONS.
1. Download (by FTP or cPanel download) a copy of ALL of the wordpress files from your OLD server to your hard drive.
2. Login to your old server, go to phpMyAdmin. Select the database that your WordPress website works from. In the top menu of your page, choose EXPORT. Export to an SQL file and save this to your hard drive.
Please note: Compress it to a .sql.zip file and save this to your hard drive (reason: on some servers, only a zipped file is accepted when uploading, in Step #4, below).
3a. IF YOUR URL WILL NOT CHANGE, skip Step 3b.
3b. IF YOUR URL WILL CHANGE, go into the dashboard of the WP website. Go to Administration > Settings > General and change the URL (both of them) to that of your new URL.
4. Login to your NEW server and create your new database. Steps to follow:
? Go to mySQL
? Create/name new database (make a note of the exact db name used)
? Create/name new user account (make a note of the exact user name used)
? Add the user to the database you just created (make a note of the exact name used) and give that user “All Privileges”
? Go to myPHPadmin, select the newly created database and, from the menu on the page, choose IMPORT. Import the SQL (or .sql.zip) database export from your OLD server to the NEW server and ensure all your content is there.
5. Find the wp-config.php file in your WordPress download (from Step 1). In a text editing software, update this wp-config.php with the new database, user and password names you created in Step 4. Save the file.
6. By FTP, access your new server. Now, FTP all WordPress files (everything, along with the updated wp-config.php file.
7. Go to your website (www.yoursite.com) and make sure your website appears online. If you copied everything, as it was on your old server, all should appear exactly as it did. If you did not copy/FTP everything (like images), then correct the new site where necessary.
8. If all is in working order, delete the website and database from your OLD server, if you wish.
That’s it!