Main Menu

Gradually Guide to Migrate Your WordPress Site to a New Host

Posted on Jan 16 2020 by in Blog Blog Post Blogs Blogs and Blogging 

Moving your website to another host can be an overwhelming and unpleasant experience, but it doesn’t need to be.

Numerous individuals are looked at with the need to move to another host due to issues with their present provider and have sufficiently had. Yet, very frequently, moving to an increasingly dependable host is deferred consistently because of a fear of committing an error and damaging your site(s).

To get around the issue, individuals will either pay an expert to move their site for them, locate another host that offers the service as a component of another hosting package or take the third choice of having a go at it themselves.

Stage 1: Back up your site records

The absolute initial step of any task, for example, is to back up each part of your site. This progression is acceptable practice before any significant change yet it is additionally a requirement of moving your WordPress installation.

There are numerous plugins out there that will completely backup your website for you. This backup, be that as it may, requires an increasingly manual methodology. Utilising an FTP program, (for example, Transmit), interface with your web host and duplicate all records under your site’s directory to a folder on your local PC.

This incorporates the .htaccess record that is set to be hidden. Consult your FTP program’s assistance document to have it display hidden records on the off chance that you can’t see this document.

Depending upon the number of media transfers you have on your site, this could take some time. While this download is in progress then we can start stage two and make a duplicate of your database.

Stage 2: Export The WordPress Database

Exporting your database is a simple procedure that just requires a couple of steps to finish. Sign in to the cPanel record of your web server and open the phpMyAdmin application. Select the database that contains your WordPress installation from the list on the left-hand sidebar and once choose click on the Export tab on the navigation menu.

Stage 3: Generate The WordPress Database On Your New Host Server

Before we can begin the migration to the new web host, we have to make a domain for a WordPress installation. To do this you should make a database that you can bring your SQL information into.

Login to your new web host with the client credentials they have provided you and associate with the cPanel software. For our guide, we will utilize the MySQL database application. In the event that your web host doesn’t have that application running, at that point you will contact their support team to find their strategy for making new databases.

The steps to make a database are very basic:

• Open MySQL Database and make another database with a fitting name for your site.

• Make another MySQL client (with a safe secret password).

• Add this client record to the new database and give it all Privileges.

Stage 4: Edit the wp-config.php File

Browse to the folder on your local PC where you downloaded your site records to. In that folder, there is a document called wp-config.php that controls the access among WordPress and your database.

Make a duplicate of this record and store it in another folder on your l PC. This is important for reestablishing the changes we are going to make should something turn out badly later.

Open the first form of the document with your preferred content manager and make the accompanying three changes:

1. Change The Database Name

2. Change the Database Username

3. Change The Database User Password

Stage 5: Import Your Database

As you have another database to work with we can start the import procedure.

Dispatch phpMyAdmin from the cPanel programming on your new server and select your new database from the list on the left-hand sidebar. When it opens choose the Import tab from the navigation menu.

In the File to Import area click the Choose File button and choose the SQL document you sent out previously.

Un-tick the Partial Import check box, ensure the arrangement is set to SQL and then click the Go button. The database import will currently start.

The time this import takes differs relying upon the size of your database. You thought to get a message advising you regarding the achievement of the import when it has wrapped up.