How to transfer my WordPress from one host to another?

Transferring your WordPress application includes copying your files and database and modifying the wp-config.phpfile in your main WordPress folder.

In wp-config.php you should 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 - here you should 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 cPanel.

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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Leverage Browser Caching

Add these rules to your .htaccess file in order to reduce the load times of web pages by storing...

Why BackupBuddy fails to send backups to a remote server

When backing up to a remote server, the successful completion of the process relies on many...

How to Disable Theme Editor and Plugin Editor in WordPress Admin Panel

WordPress allows you to edit your plugin and theme files directly through its admin panel....

How to Modify my Title Tag in WordPress

To modify the title tag of your index page you need to login to the WordPress admin area and go...

How to Change my WordPress Subheading

The majority of WordPress themes take the subheading text from your blog's tagline. To edit it,...