How to Transfer WordPress From One Server Or Host to Another in 2023

How to Transfer WordPress From One Server Or Host to Another in 2023

Introduction:


There are numerous articles that cover the process of moving a WordPress blog from one server or host to some other but I've determined that maximum of them left me asking questions after reading them. I am a completely visible person and hope the following article and pictures (Article with photographs available: Link is below this text) help you get your WordPress weblog transferred successfully. The following article changed into compiled from firsthand enjoy of moving  WordPress blogs from a Godaddy website hosting account to my personal dedicated linux server.


Step #1 -Backup Your WordPress Database:


Most web hosting accounts consist of PhpMyAdmin which is what you may use to backup the WordPress database. The process in reality is not that difficult. The first aspect you may want to do is find PhpMyAdmin within your hosts manage panel.


In the Export box make sure all of the tables are highlighted and if they're no longer click on "Select All"

In the Options container ensure to pick the subsequent alternatives similarly to the default settings. 1.) Add DROP TABLE/VIEW/PROCEDURE/FUNCTION 2.) Add AUTO_INCREMENT fee three.) Enclose table and field names with backquotes four.) Complete inserts 5.) Use Hexadecimal for BLOB

Lastly, in the direction of the bottom of the screen make sure you select "Save as record" after which type a record name that correlates to your website and click on "Go". That's it, your Database should now be sponsored up on your nearby pressure.

Step #2 Transfer all of your WordPress documents to the brand new server:


For the time being I'm no longer going to cowl this step in excessive element due to the fact there are so many extraordinary approaches this can be completed. I chose to use the FTP consumer FileZilla to finish this project which is loose. If any of you would love me to feature extra facts on this step of the technique please allow me recognize and I'll add it to this article.


Step #3 Create a brand new Database for your new server/host.


If you are the usage of Cpanel this mission is extraordinarily easy however should be a totally comparable method on different manipulate panels.


Click on "MySQL database wizard"

Enter a Database name. This may be WordPress or anything else you need. Then click "next step".

Enter a Username and Password. Note: The Password have to be entered twice and make certain it's at ease. (version of numbers,letters, and instances) Then click on "subsequent step".

Select "All Privileges" and click "subsequent step". That's It!

Important Note: Make positive you write down the Database Name, Username, and Password or you will need to cross again and find that information later.

Step #4 Edit the WPCONFIG. Php


At this factor you should have already copied all of your WordPress documents to the brand new server and we now want to alter the WPCONFIG. Personal home page document with the new Database records. Once in Cpanel you want to complete the subsequent steps.


Click on "File Manager".

Select "Web Root" and make sure "show hidden files" is chosen(May not be vital however better secure than sorry).

Find WPCONFIG.Php in the file supervisor. Depending on in which you copied the WordPress documents on the server this report ought to be placed in WordPress's root listing. (Meaning it is now not positioned in wpcontent or wpadmin, it is located inside the equal directory as all the WordPress folders)

Once you discover WPCONFIG you may need to click on the mouses right button and pick "Edit".

You now want to alter three (possibly 4) extraordinary objects inside the document.

Database Name

Username

Database Password

Database Host (If you are hosting WordPress to your personal server this ought to be localhost but may vary relying your web hosting scenario. If you are unsure you may need to contact your administrator)

Note on Charset Value: This fee must match the value of your old Database. I left it at the default placing and the whole thing labored effectively but I actually have study that having an incorrect charset can reason compatibility troubles inside the Database.

Save Changes to the file and you're carried out.

Step #5 Import your old Database tables into your newly brought Database.


This is a step that brought on some serious issues for me after I first tried shifting a WordPress blog. Whithout finishing this step your new database will now not feature as it would not include any of the tables or records out of your WordPress powered website. There are a couple of options to finish this undertaking and your choice need to very based on the size of your database backup. If you're database is larger than 10mb in size you will probable want to use third party software to finish the venture. If you are Database backup is smaller than 10mb in size you can use PhpMyAdmin to complete the import.


Option #1 Using PhpMyAdmin(Databases underneath 10mb in length)


Follow these steps while the usage of PhpMyAdmin to finish the import.


Click on PhpMyAdmin within Cpanel and login.

Click at the Database you created earlier. This database must have a 0 subsequent to it representing that it doesn't comprise and tables. It should in the top left hand facet of the display screen.

Click at the "Import" tab located on the top navigation toolbar.

Click on "Browse" and locate the Database backup which you earlier stored on your local force.

Click "Go" and allow PhpMyAdmin take care of the rest.

Presuming you are database backup changed into less than 10mb in length you ought to now be geared up to roll.

Comments