Home
/
WordPress
/
Upgrades And Migrations
/
How to transfer my WordPress from one host to another?

How to transfer my WordPress from one host to another?

There are two ways you can transfer your website at SiteGround:

  • Request a manual web migration;
  • Take advantage of our unique WordPress Migrator plugin available in your Site Tools – you can transfer multiple WordPress sites from any host to SiteGround at no extra cost.

You can order the manual web transfer from your Client Area > Help Menu > View Help Center > Contact Us > Transfer or set up a new site > Transfer website.

You can migrate your website without any hassle from your Site Tools > WordPress > Migrator

If you are tech-savvy, you can also transfer your WordPress application by yourself without any assistance. This includes copying your files and database and modifying the wp-config.php file in your main WordPress folder.

In wp-config.php, change the MySQL settings:

DB_NAME – here you should enter the name of the WordPress database, e.g. :

define(‘DB_NAME’, ‘user_wrdp1’);

DB_USER – enter the username with privileges to access the blog database, e.g. :

define(‘DB_USER’, ‘user_wrdp1’);

DB_PASSWORD – the password for accessing the database:

define(‘DB_PASSWORD’, ‘password’);

DB_HOST – the MySQL host; in most cases, you won’t have to change this:

define(‘DB_HOST’, ‘localhost’);

In case you wish to use the transferred application with another domain, or in another folder, you should also change the siteurl and home options in your WordPress database. You can do this using the phpMyAdmin tool available in your Site Tools.

Once in phpMyAdmin, select your WordPress database and browse the table wp_options. Find the options siteurl and home and change their values to the desired URL.

Share This Article