Tutorials Applications

WordPress manual migration

Step-by-step migration of a wordpress install from one account to another

Views 1292Updated now 2 yearsPublished 13/07/2022by Mihai Bobriuc

Introduction

  • In this tutorial we are going to show you how we can migrate a WordPress installation from one account to another.

 Requirement

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

 

Steps

  • We log in to the source cPanel account, an 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

  • Alegem tipul arhivei, zip, iar apoi click pe 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

 

  • Once we have downloaded the files we will export the database with the help of phpMyadmin from the cPanel account.
  • The database used by our website we can see it in the configuration file of the WordPress installation. We edit the wp-config configuration file.php by selecting it, and then click on Edit, Edit in the next window.

Sectiunea Manager de fisiere

 

Copie de rezerva

  • The database name is listed in the field below.

Nume baza de date

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

Sectiunea baza de date

  • We will export the database by clicking on Export, and then click on Go in 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 the moment we have the files and database downloaded locally on our computer.  Now we will proceed to upload the data to the destination account hostico.com.
  • We log into 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 hostico.com domain, public_html and upload the archive with the files and the exported database in the previous steps.

Incarcare arhiva fisiere

 

Sectiunea incarcare fisiere

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

Dezarhivare fisiere

Extragere fisiere

  • Once we have extracted 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 hostico.com domain, public_html.

Mutare fisiere

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

Creare baza de date

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

Incarcare baza de date

  • After we click on 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 import of the database.

Finalizare import baza de date

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

Fisier de configurare Wordpress

Editare fisier de configurare

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

Note:

Migration may require other steps depending on the installed extensions/themes – this tutorial only presents the basics needed to migrate a WordPress site.

Similar Articles

Setting up the SMTP contact form in WordpressTutorials /Email

This article explains how to install and set up an SMTP mail plugin in Wordpress

1
by Mihai Bobriuc
Views 998
Updated now 1 year
Published 01/10/2019
Creating a website in 3 simple stepsTutorials /General

In this article we explain every step required to have an online site in just a few minutes

by Mark Dohi
Views 2615
Updated now 2 years
Published 07/10/2020
Placing the upgrade orderTutorials /Commercial

In this tutorial you will learn how to place an upgrade order for an existing hosting from your Hostico customer account.

by Mihai Bobriuc
Views 1845
Updated now 2 years
Published 19/05/2018
How to install an SSL certificate in Wordpress Tutorials /Applications

This article will describe the steps required to implement the SSL certificate in Wordpress

by Ana Rednic
Views 1799
Updated now 2 years
Published 25/10/2018
Installing an application through cPanel Softaculous pluginTutorials /Softaculous

This article will describe the steps you need to install an application through the cPanel Softaculous plugin.

by Ana Rednic
Views 1547
Updated now 2 years
Published 25/10/2018