TutorialsWordPress

Manual WordPress migration

Find out how to manually migrate a WordPress installation between hosting accounts, step by step, to ensure a smooth transition of your data.

Views 811Updated 2 luniPublished on 22/10/2018by Florin Petran

Introduction

  • In this tutorial, we will show you how to migrate a WordPress installation from one account to another.

 Requirements

  • Access to the cPanel accounts of the two hosting accounts, the source account, and the destination account.

 

Steps

  • We log in to the source cPanel account from which we will migrate the data. In our case, the account is hostico.ro and we will migrate the data to the destination account hostico.com.
  • After logging in, we go to the Files section, and then click on File Manager.

Sectiunea Fisiere cPanel

  • We select the root directory of the domain hostico.ro, in our case the directory is public_html, and then click on Compress to generate an archive of the files.

Sectiunea Manager de fisiere

  • We choose the archive type, zip, and then click on Compress File(s).

Alegerea tipului de arhiva

  • After creating the archive, we will download it locally either through the file manager or an FTP client. In our case, we will use the File Manager. We select the archive and then click on Download.

Sectiunea Manager de fisiere

 

  • After we download the files, we will export the database using phpMyAdmin from the cPanel account.
  • The database used by our site can be seen in the configuration file of the WordPress installation. We edit the wp-config.php configuration file by selecting it, and then click on Edit, Edit in the next window.

Sectiunea Manager de fisiere

 

Copie de rezerva

  • The name of the database is entered in the field below.

Nume baza de date

  • We access phpMyadmin from the Databases section, and here we will select the hostico_wp database from the left side of the screen.

Sectiunea baza de date

  • We will export the database by clicking on Export, then click on Go on the next page, and we will save the database locally on our computer.

Export baza de date

Export baza de date

Salvare baza de date

  • At this moment we have the files and the database downloaded locally on our computer.  Now we will proceed to upload the data to the destination account hostico.com.
  • We log in to the cPanel account hostico.com, go to the Files section, and then click on File Manager. Here we will select the root directory of the domain hostico.com, public_html, and we will upload the archive with the files and the exported database from the previous steps.

Incarcare arhiva fisiere

 

  • After we have uploaded the files to the destination account hostico.com we will return to the root directory by clicking on Go Back to “/home/hosticom/public_html” .

Sectiunea incarcare fisiere

  • We will select the archive public_html.zip, and then click on Extract to unzip the files.

Dezarhivare fisiere

Extragere fisiere

  • After extracting the files, we will move them to the root directory of the hostico.com domain, public_html.
  • We select the files, and then click on Move.

Mutare fisiere

  • In the new window, we will modify the path where we move the files, the root directory of the domain hostico.com, public_html.

Mutare fisiere

  • The next step is to create a database and a user, a database in which we will import the exported database from the source domain hostico.ro.
  • After creating the database, we will import the source domain's database into the newly created database.
  • We go to the Databases section, then click on phpMyadmin and select the newly created database (hosticom_com) by clicking on it on the left side of the screen.

Creare baza de date

  • Then we will click on Import, click on Browse, and select the locally saved database to import it.

Incarcare baza de date

  • After we click the Go button at the bottom of the page to import the database.

Import baza de date

  • On the screen, we will have a confirmation message regarding the database import.

Finalizare import baza de date

  • The last step after copying the files into the root directory of the destination domain, public_html of hostico.com, and importing the database is to modify the WordPress configuration file wp-config.php with the new data: database, user, and password.
  • We will access the Files section, File Manager, access the public_html directory and edit the WordPress configuration file wp-config.php where we will modify the fields below with the new data: database, user, and password with those created earlier and save the changes made.

Fisier de configurare Wordpress

Editare fisier de configurare

  • We save the file and access hostico.com in the browser.

Note:

  • The migration may require additional steps depending on the installed extensions/themes - this tutorial only presents the basics necessary for migrating a WordPress site.

Similar Articles

DNS settings in the Webuzo panelTutorials /Webuzo

Learn how to edit and set DNS records in the Webuzo panel. Follow the steps to efficiently manage domains and subdomains.

46
by Alexandru Rogojan
Views 1620
Updated 1 month ago
Published on 14/09/2017
Changing the PHP version in cPanel on VPS hosting packages via MultiPHP ManagerTutorials /cPanel

In this article, we will present the necessary steps to change the PHP version in a cPanel account using MultiPHP Manager.

42
by Sebastian Szlivka
Views 1913
Updated 11 months ago
Published on 18/10/2017
Clear cache and history in Chrome browserTutorials /Apps

Learn how to delete your history and cache in Google Chrome using the Ctrl+Shift+Delete key combination. The tutorial includes simple steps and applicability in other browsers.

30
by Florin Petran
Views 5362
Updated 4 years ago
Published on 08/01/2018
Creating an email account in cPanelTutorials /cPanel

The cPanel allows for the creation of an unlimited number of email accounts associated with hosted domains. This tutorial will explain the necessary steps to create and access an email account.

22
by Cătălin Adrian
Views 3817
Updated 11 months ago
Published on 28/06/2017
SSH settings in WebuzoTutorials /Webuzo

In this tutorial, learn how to block SSH access on the Webuzo server by enabling the connection and configuring the necessary port.

20
by Alexandru Rogojan
Views 528
Updated 2 months ago
Published on 12/06/2018