You've just sold a Wordpress site on Flippa? Congratulations!
Here's how you can copy the site across to a new cPanel account. Before you begin, you'll need:
Your login details for your web hosting account.
The login details for the buyer's web hosting account.
Note: This document is for information purposes only. Only experienced users should attempt this process. Flippa can't provide any support for website transfers, nor can we take any responsibility for the accuracy of this documentation. If you're looking for an inexpensive service to transfer hosting for your website, we have negotiated a special offer for Flippa users with Tweaky.com
1. Prepare to export the WordPress files.
Log in to your cPanel account with your site's current host, and click on the "File Manager" icon. Make sure you select the correct domain from the drop-down list. Check the "Show Hidden Files" checkbox.
2. Choose the files you want to compress.
Check the "Select all" checkbox to select all the files in your list, then uncheck the files you don't need, such as the cgi-bin file. Then, click the "Compress" icon.
3. Select the compression type and archive name.
Select "Zip Archive" as the compression type, and name the file. Don't change the file path, though. Click on the "Compress Files" button.
4. Download the compressed file archive.
Once all your files have been compressed, select the .zip archive, then click on the "Download" icon. The file will be saved to your local drive. Make a note of the location you've saved it to.
5. Prepare to export the database.
Go back to your cPanel account and click on the "phpMyAdmin" icon.
6. Choose the database you want to export.
Select the database from the drop-down menu on the left-hand side of the page. Then, click on the "Export" tab.
7. Check the export options.
Make sure the "SQL" Export option is selected. Also, check the "Add DROP TABLE" option.
8. Save the database.
Make sure the "Save as file" checkbox is checked. Then click on the "Go" button, saving the database file to a location on you local drive. Make a note of the location you've saved it to.
9. Log in to the new host's cPanel.
Use the buyer's login details to log in to the cPanel of their preferred host.
10. Prepare to create the new database.
Click on the "MySQL Database" icon to start adding a new database to the buyer's hosting account.
11. Name the database.
Give the new database a suitable name.
12. Add a new database user.
Create a new user called "admin", and enter a password for that user. Click on the "Create User" button.
13. Add the new user to the database.
Select the new user and the appropriate database using the drop-down lists provided. Then click on the "Add" button.
14. Edit the WordPress configuration file.
Before you take the WordPress file archive that you downloaded in step 8, and upload it to the new hosting account, you need to unzip it and change the database login details it contains.
Find the file called wp_config.php, open it, and change the database login details to reflect the new details you created in step 12. Save the altered files to a new zip archive when you're done.
15. Upload the file archive to the new host.
Access the "File Manager" panel on the buyer's hosting account. Click on the "Upload" icon to upload the WordPress file archive.
16. Extract the archived files.
Once you've uploaded the archive, select it and click the "Extract" icon to extract the files to the buyer's hosting account.
17. Upload the database.
Now access the phpMyAdmin panel from the cPanel account on the buyer's hosting account. From the drop-down menu on the left, select the database you created above. Then click on the "Import" tab. Browse for the .sql file you downloaded earlier, select it, and click on the "Go" button to upload the database to the buyer's account.
18. Change the domain path.
You need to make sure you have the correct domain path in your database. Click on the "Search" tab, enter the search term "public_html", click on "Select all", then click on the "Go" button.
19. Browse the options table
The search results will include a file called "wp_options". Click "Browse" to inspect that file.
20. Make sure the upload path is correct.
Review the upload path that's displayed, and make sure it's correct. Note that the settings shown in this display differ between hosts. Check with your hosting provider to make sure the upload path is correct.
You're done! You should now have a functioning version of the site on the buyer's hosting provider. Note that you may not be able to thoroughly test the new installation until you have redirected the domain name to the new name server.