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.
In this article, you will read about
How to transfer a 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 a CMS dashboard, where 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 a new host using PHPMyAdmin
There are several ways to move WordPress to a new host, but most of the themes use 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 the PHPMyAdmin console, where 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 that you use for the 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 the database used by your site. In my case, it will be “adnotio_ksiegozbior.” Then point to the “Export” bookmark, and there are several things that we need to check.
- First of all, you will need to use a custom export method:
- The second thing is to check “ADD DroP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER STATEMENT” from the Object creation options.
- Finally, scroll down to the bottom and click the button “GO”
Congratulations, you’ve made your database copy. This is also the best way to make a safe 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 out 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 the 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
The database name and coding type need to be the same as in old databases. Then hit create. You also need to create a user with the same name, password, and admin privileges. Point to the “Privileges” tab and hit “Add user account.”
Then add the user name and password, and check Global privileges “Check all”. Scrol to bottm nad hit “Go”.
Now you can import your databases using the “Import” tab.
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 the old host to a new host. That’s all.
Congratulations, you moved your website to a new host.
One Response
Nice post. I learn something totally new and challenging on sites I stumbleupon everyday.
It will always be useful to read articles from other authors and practice a little something from
their web sites.