How To Transfer WordPress Files To New Domain Name And Hosting

Not long ago I transfer WordPress files on one of my websites to a new domain and hosting. Initially confused me, because some database files must be updated. Here I will share brief tips on how to move WordPress files to a new domain name or local server.

How To Transfer WordPress Files To New Domain Name

  1. Backup all WordPress files from old hosting.
  2. Backup the database on the old hosting.
  3. Create a new database, username, and password on new hosting and restore the old database.
  4. Restore all WordPress files to new hosting.
  5. Edit the database name, username, and password settings in the wp-config.php file.
  6. Update some table contents using the following SQL syntax

# Backup all WordPress files from old hosting

Open your Cpanel hosting and compress all your WordPress files into Zip file and download

Compress WordPress Files From Hosting

 

# Backup the database on the old hosting

Export database to .sql extension via phpmyadmin

Backup Database Transfer WordPress Files To New Domain And Hosting Tutorial

# Create a new database, username, and password on the new hosting and restore the old database.

Create New Database Name Transfer WordPress Files To New Domain And Hosting

 

New Mysql Username And Password How To Moved WordPress Site To New Domain Name

Integrated Username And Database Mysql

Import Database

# Restore all WordPress files to the new hosting (Extract all the files on the new hosting)

Upload And Extract All WordPress File To New Hosting

# Edit the name of database, username, and password settings in the wp-config.php file

Edit Wp Config With New Database Name And Settings

# update some contents of the table using the following SQL syntax

Thus my 6 step how to How To Transfer WordPress Files To New Domain Name And Hosting. Hope useful

The following two tabs change content below.
This site is a personal Blog of Sigit Prasetya Nugroho, a Desktop developer and freelance web developer working in PHP, MySQL, WordPress.

Leave a Comment

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.