how to change wordpress hosting

Change WordPress Hosting

Change WordPress hosting seems intimidating and tedious work at first, but if you can give time and courage for creating your own website then solving this problem isn’t a big issue. Looking at the causes of change WordPress hosting is that it faces some issues with the current service provider. Moving to a new reliable host may seem a bit fearful because of the fear of destroying your website by making a mistake.

But there is no need to worry as we are here to provide you a solution to change WordPress Hosting by providing a few simple steps that are easy to follow. Even after following the below-listed steps for change WordPress hosting, if you face any problem or have any doubt or need expert assistance, then feel free to contact WordPress customer service.

Step 1: Firstly you need to take the backup of your WordPress files

  • For backing up, you need to have backup plugins such as Vault Press or duplicator.
  • Backup plugins are used to install and then using built-in settings to check which files are backed up, the frequency of back-up, and the place where they are backed up.
  • Another method is to do it manually, which requires a file transfer tool(FTP) such as FileZilla(PC) and transmit(mac) to access your website files.
  • Once you have installed, you have to use SFTP credentials from your web host account to connect to the website’s server.
  • After you have connected, select all files under your website’s directory and download them. It includes .htaccess files that may be hidden.
  • If you are unable to see hidden files, use the FTP program’s help file.

Step 2: The next step is to export the database

  • To export your database, login to the cPanel account of your web server.
  •  Now open the phpMyAdmin application.
  • From the list on the left-hand sidebar, select the database that contains your WordPress installation.
  • Once you have selected, click on the Export tab in the navigation menu. 
  • Now click on the go button and the process of exporting the database will begin after which a file will be downloaded on your computer. 

Step 3: On the new host server, create the WordPress database

Here we are using a MySQL application. Check if your web host uses the same application or some other.

  • Firstly open the MySQL database and choose an appropriate name to be given to a new database and create a database with this name.
  • Now create a new MySQL user with a strong password.
  • Once you have done this add this user account to the new database and grant it All Privileges. 

Step 4: Another step is to edit the wp-config.php file.

  • Now go to the section where the files were downloaded and there search for the wp-config.php file that handles the access between WordPress and database.
  •  Make a copy of this file and shift the copy file in another folder. Open the original folder again.
  • To change the name of the database write define(‘DB_NAME’, ‘db_name’);
  • In place of db_name, write the name of your new web host, which will be given to the name of the new database that you created above.
  • To change the database username write define(‘DB_USER’, ‘db_user’);
  • Set the db_user as your new database username, which will be set as the username for your new database.
  • To change the database password write define(‘DB_PASSWORD’, ‘db_pass’);
  • set  db_pass as a new secure password for your new database.
  • Save and close the wp-config.php file.

Step 5:  Now, upload the new WordPress files to the new host.

Step 6: Replace/Search the new domain and define now domain.

Step 7:At the last, give final touches 

The above-mentioned steps will help you to change WordPress hosting. In case of any problem, you can connect to the WordPress Hosting support to . The team members of WordPress Hosting support are highly skilled and proficient to help you related to change WordPress hosting.

Leave a Reply

Your email address will not be published.