Easy Methods To Switch WordPress From One Server Or Host To Another

Easy Methods To Switch WordPress From One Server Or Host To Another


There are numerous articles that cowl the process of transferring a WordPress weblog from one server or host to another however I've discovered that almost all of them left me asking questions after reading them. I'm a very visible individual and hope the following article and that images (Article with images available: Link is beneath this article) show you how to get your WordPress blog transferred successfully. The following article was compiled from firsthand expertise of transferring WordPress blogs from a Godaddy internet hosting account to my very own dedicated linux server.

Step 1 -Backup Your WordPress Database:

Most internet hosting accounts embody PhpMyAdmin which is what you will use to backup the WordPress database. The process really isn't that difficult. The primary thing you may have to do is find PhpMyAdmin within your hosts control panel. After you've got logged into PhpMyAdmin you will need to do the following.

Click on the database it is advisable back up. It is going to be positioned on the top left region of the screen.
Click on "Export" on the top software bar of PhpMyAdmin.
Complete the next steps.
Within the Export box be sure all of the tables are highlighted and if they're not click on on "Select All"
In the Options box make certain to pick the next options in addition to the default settings. 1.) Add DROP TABLE/VIEW/PROCEDURE/FUNCTION 2.) Add AUTO_INCREMENT worth 3.) Enclose table and subject names with backquotes 4.) Full inserts 5.) Use Hexadecimal for BLOB
Lastly, towards the underside of the screen ensure you select "Save as file" and then type a file name that correlates to your internetsite and click "Go". That's it, your Database should now be backed up in your local drive.
Step 2 Transfer WordPress Site To Another Host all your WordPress files to the new server:

For the time being I'm not going to cover this step in extreme element because there are such a lot of different ways this may be done. I chose to make use of the FTP consumer FileZilla to complete this activity which is free. If any of you desire to me to add additional data on this step of the process please let me know and I'll add it to this article.

Step 3 Create a new Database in your new server/host.

If you're using Cpanel this task is very simple however should be a really similar process on different control panels.

Click on "MySQL database wizard"
Enter a Database name. This could be WordPress or anything else you'd like. Then click on "subsequent step".
Enter a Consumername and Password. Note: The Password should be entered twice and ensure it's secure. (variation of numbers,letters, and cases) Then click "subsequent step".
Select "All Privileges" and click "subsequent step". That's It!
Essential Note: Be sure you write down the Database Name, Consumername, and Password otherwise you'll should go back and discover that data later.
Step 4 Edit the WPCONFIG.php

At this point you should have already copied your entire WordPress files to the new server and we now want to modify the WPCONFIG.php file with the new Database information. As soon as in Cpanel you might want to complete the following steps.

Click on "File Manager".
Select "Internet Root" and ensure "show hidden information" is chosen(Will not be needed but better safe than sorry).
Find WPCONFIG.php within the file manager. Relying on where you copied the WordPress files on the server this file needs to be situated in WordPress's root directory. (That means it is not positioned in wpcontent or wpadmin, it's positioned in the same directory as the entire WordPress folders)
Once you locate WPCONFIG you may must click on on the mouses proper button and select "Edit".
You now need to change three (possibly 4) different objects within the file.
Database Name
Database Password
Database Host (When you're internet hosting WordPress by yourself server this must be localhost however could range depending your internet hosting situation. If you're not sure you will need to contact your administrator)
Note on Charset Value: This value should match the worth of your old Database. I left it at the default setting and everything worked appropriately however I've read that having an incorrect charset can cause compatibility issues within the Database.
Save Changes to the file and you're done.