How to move WordPress site to a new host

One day you figured out that your hosting server doesn’t meet your requirements. These days you may wonder how to move a WordPress site to a new host. There are several ways to do these, but finally, there is one way that allows you to do change WordPress hosting smoothly. In this post, I will show you how.

How to transfer WordPress website to a new host

Let’s start with basic information on how WordPress storage information on a server. There is a way to store information on the server using SQL language. It’s a very common standard on web applications when websites are created dynamically by PHP language using data stored on servers. You can ask now, okay but where is WordPress in this situation?

WordPress is just a CMS system using PHP and SQL standards. It allows web developers to easily build dynamic web services. Finally, you use CMS dashboard, when you can add articles and photos, and that all is easy to manage, even when you are not familiar with which web technologies. So here is the key, to move WordPress to a new host. You need to grab whole databases and move them to a new host. Is it hard? Not exactly.

How to migrate a WordPress website to new host using PHPMyAdmin

There are several ways to move WordPress to a new host, but most of the themes using plugins. That’s not bad, but sometimes it’s just enough. You use these plugins, and migration felt. You want to migrate WordPress with full success, not just partial. Here comes PHPMyAdmin console, when you can download whole databases and upload them on a new host.

To log in to PHPMyAdmin tools, you need to place these addresses on your website: https://mysite/phpmyadmin and login to this dashboard using your admin user and password to these Databases. Just in case, there is not this same login and password which you use for to WordPress dashboard login. You will need a login and password, that you set during WordPress installation on the current host.

When you log in to the admin dashboard, select database that is used by your site. In my case, it will be “adnotio_ksiegozbior”. Then point to the “Export” bookmark, and here it’s several things that we need to check.

WordPress PHP My Admin dashboard
phpMyADmin Dashboar with databases list
WordPress databases structure
WordPress database structure
  • First of all, you will need to use a custom export method:
  • Second thing is to check “ADD DroP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER STATEMENT” from Object creation options.
  • Finally, scroll down to the bottom and click the button “GO”
WordPress custom export database select
Custom export selected
WordPress database table statement set
Add statement select
WordPress database execute
Import WordPress database

Congratulations, you made your database copy. It’s also the best way to make safety copy on your local computer.
Next step you will create databases on your new host and import data, from your local database copy.

Now you have your databases, so it’s a good time to download all files from your old host. The best way to do these is to use FTP services. You need to find how to log in to the FTP server on your old host using for example Filezilla or Total Commander software. If your FTP Services isn’t set to show you the public_html directory, or you installed WordPress in a different directory, you need to point to the folder, where WordPress files are stored. Download this folder on your local computer. These could take a moment.

How to move a website to a new host

Now you have all data and files, and you are ready to install the old WordPress site on the new host.
First, you will need to open PHPMyAdmin on the new host. Just like before: https://yourNewSite.com/phpmyadmin
Then click New

WordPress new datrabase add
Here you can add new database
New WordPress dastabase setup
Here set up databse name and language setup

Database name and coding type need to be the same as in old databases. Then hit create. You also need to create a user which the same name password and admin privileges. Point to the “Privileges” tab and hit “Add user account”.

Add new user to WordPress database
Here you will add new user

Then add user name, password, and check Global privileges “Check all”. Scrol to bottm nad hit “Go”.

New WordPress database user privileges


Now you can import your databases using the “Import” tab.

Finally WordPress database import

Switch to the “Import” tab, select files and hit “Go”. Your databases will be imported to the server. Finally, open FTP Services and connect to a new host. Then past files from old host to a new host. That’s all.

Congratulation, you moved your website to a new host.

No comments
Krzysztof NyrekHow to move WordPress site to a new host

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

15 − fifteen =