Moving a WordPress site to another domain or hosting

ckages.Today’s guide will deal with moving a WordPress site to another domain or hosting. Changing the domain is not so frequent, but it is useful, for example, when moving a website from a local server (a domain of the “interval.l” type) to a sharp version of the website.

If you only need to change your domain, you can continue to the last part of this article.

Copying content from FTP

A basic requirement for moving a site is to have FTP access to the existing site. We will connect to the FTP server through your preferred program. If you don’t use one, Filezilla will suffice , which is free for all platforms.

On FTP, we get to the folder with WordPress, mark all the files and download them together, for example to a folder on the desktop. Due to the number of files, this may take longer.

 

Subsequently, we move the entire contents of the folder to the root directory of the new website using an FTP client on the new hosting. We usually receive the data by email when ordering web hosting. Sometimes it is necessary to request FTP data in the customer administration. If you are unsure, contact hosting support.

Copying content from the database
We have to export all the tables from the database of the old website to a SQL file, which we will then insert into the new database server.

It is possible to use a tool for managing the database directly from the hosting provider, or you can use the Czech Adminer tool – and I will use it in this guide as well. Adminer consists of a single PHP file that just needs to be uploaded to FTP in the same folder as seen in the image above. I usually name it as adminer.php (don’t forget to delete it afterwards). Subsequently, I open the addrd website and enter the login information to access the database.

If you don’t have access data to the database, it doesn’t matter – they can be found from the wp-config.php file .

 

After connecting to the database

server, select the Export option in the left column , set the Save option , leave all tables marked and south africa phone number data click the Export button. We save the generated file again, for example, on the desktop.

phone number data

Now we have to connect to the database server on the new hosting. We will either use the database management tool directly from the new web hosting, or we will also upload the adminer.php file to the new hosting .

On the new website, log in to the database with the data we received from the new hosting provider (typically by email when we are going to implement a new weekly reporting system setting up the web hosting or after creating the database in the customer administration) and click on the Import button in the left column.

We select the file that we saved on the desktop a while ago from the old website and click on the Execute button. Hurrah, we have the database solved. So – almost…

On the new website, we must not forget to bw lists modify the accesses in the wp-config.php file , as the accesses are usually different.

Scroll to Top