Migrate your WordPress website to a Hosting Server (cPanel)
Forget those so-called Free Plugins (not working, wasting your time)
Migrate your WordPress site to a new Server(cPanel) manually, forget those so-called Free Plugins (not working, wasting your time)
Follow these steps:
1. log in to “old cPanel” and go to “File Manager” then go to the “www” folder and copy all files to a folder inside the “www” and make a zip file and download the zip file. It’s the backup of all the files and folders inside your “www” folder.
Note: when making the zip file, make sure you have enough “disk space” in your old hosting plan.
2. Now, download the backup zip file of your “www” folder in your PC from the file manager.
3. Now, login to your “new cPanel” account and go to File Manager and upload that zip file inside your new cPanel “www” folder and extract that backup zip file (inside the “www” folder) from the file manager.
4. Go to the “old cPanel” account and go to “phpMyadmin” and export the actual SQL file (*.sql) of your database (That’s the database used for your old WP site).
5. Download the *.sql file to your local PC.
6. Now, go to your “new cPanel” account and go to “File Manager” then go to the “www” folder and download the “wp-config.php” file to your local PC.
7. log in to your “new cPanel” account and go to “MySQL® Databases” and create the following: New Database, the MySQL user, and user Password and save the information to a Notepad text file.
8. Open the “wp-config.php” file that you already saved (I have mentioned on serial no.6) and update the following lines: ‘database-user-name’, ‘database-user-name’ and ‘DB-user-password’ and save the “wp-config.php”.
/** The name of the database for WordPress */ define(‘DB_NAME’, ‘database-name’);
/** MySQL database username */ define(‘DB_USER’, ‘database-user-name’);
/** MySQL database password */ define(‘DB_PASSWORD’, ‘db-user-password’);
9. Now, upload this updated file (wp-config.php) to your “new cPanel” account using “File Manager” inside the “www” folder. It may ask you to replace the existing file.
10. Now open the *.sql file (that you downloaded from your old hosting) with Notepad. use “Open with Notepad” for Windows PC.
11. After opening the file (.sql) with Notepad, you have to “Find and Replace” the correct image link/URL, WP menu links, etc. and update the “correct domain name” and the “correct Cpanel user name and save the file (Save type: All files (.*)
12. Now, log in to your “new cPanel” account and go to “phpMyAdmin” and select the “database” and click on “SQL”, you will see a text box.
13. Now open the *.sql file in Notepad and select all the text lines and “Copy and Paste” them to the “SLQ Query box” and click the “Go” button to RUN the “SQL Query”.
14. A green line with success will show.
16. For Plugin license/code you have to contact the Plugin developer.
That’s all for manual migration of your WordPress site.