A Total Guideline For Moving WordPress Blog To New Host.
How are you all, my readers? Today I am going to let you all know about moving wordpress blog to new host ( from one server to an existing server). In fact, we feel the necessity to change our hosting for various reasons.
Many a times, in the initial stage, we begin to work on the site, with the help of Wamp or Xampp. Afterwards, we transfer that, to our real hosting server. Besides this, sometimes we feel the need moving wordpress blog to new host.
So, now I am going to get you acquainted with ‘moving wordpress blog to new host’ from an old server or localhost server to a new one. Let’s now see how it can be done.
Have Your Database Backup, At First.
The very first pre-requisite for moving wordpress blog to new host is, to have backup by downloading the database of the existing or localhost server. For this purpose, get to the PhpMyAdmin of your existing or localhost server, and enter into your database. Now, select that database, in which, your wordpress blog is installed, and then also select all the files in that database, and now, click to ‘Export’ from the tab above.
After this done, a page will be opened for downloading your database files. Now, go downwards from this newly opened page and then, click to ‘Go’.
After this, your database file will be downloaded.
Along with this moving wordpress blog to new host, here ends the function of having your database backup.
Now is the time for uploading the files.
Now, you will be required to download all the files from your existing (old) (public_html) server. For this purpose, firstly select all the files from your cpanel>public_html and then secondly, download all of those files from the public_html. If you want to download from any hosting server, you may use the FTP software. I think, the Filezilla software is the best, for this purpose of moving wordpress blog to new host.
After downloading, now, upload those files in your new server. But if you use the local server, then, upload all the files from there, from where you have installed the wordpress. And along with this, the task of uploading comes to an end here.
Now ends here the task of your old server or localhost, and then, you will be required to work with the new server .
Create a database in your new server.
Now, create a new database in that new server, where you have uploaded all of your files. For this purpose, get to the ‘MySQL Database’ from your cpanel.
Now after getting to the ‘MySQL Database’, give a name to the ‘Create New Database’ and click to the ‘Create Database’.
Along with this, a new database of your, will be created.
Now, you will be required to create a new ‘MySQL User’. For this purpose, get to the “Add A New User”, and click to the button of the ‘Create user’ giving a name and a password to it.
As a result, a new database has been created.
Now is the turn for you, to add your user, to the database, made by you. For this purpose, get to the ‘Add user to database’ down, and then select the new user you have just created in your user. Now again select that newly created database, and then, click to the ‘Add’ button.
Now, a page called ‘Manager User Privilege’ will appear before you. From here, tick down the ‘All Privileges’.
Now, click to the button of ‘Make Changes’. If everything goes well, then you will receive a confirmation message.
Installing the old database in a newly created one (database).
Now, your functions will entail installing the previously downloaded database in the database you have just created anew. For this purpose, get to the home page of the cpanel, and then enter into the ‘PhpMyAdmin’.
Now, after getting to the ‘PhpMyAdmin’, you will see that, there exists the newly created database of your. Now, click to that database and enter.
Now, from the tab above, click to the import tab. Then, click to the browse button getting through the ‘Location Of The Text File’, and then, select the downloaded database of your old server.
No need to bring about any kind of change whatsoever. Now, click to the ‘Go’ button, and then, wait for a while. Time beyond expectation may be needed in view of the size of the database, so, wait with a bit of patience for some time. After the database has been installed, a confirmation message will follow (come).
If such a message follows (comes), you may think that, your database has been successfully installed in your new server.
Some Changes Of The Table In The Database.
Usually this is meant for those people, who have moved their sites to local servers, that is from their computers to the real servers, because of their using this URL http://localhost/yourssitename in their PCs. But in the new (real) server, they are moving their sites. So, some changes will have to be effected in the database, and for this purpose, the following steps will have to be followed.
At first, click to the ‘wp_options’ from the right hand side of your database.
After this, click to the ‘Browse’ tab from above.
Now, you will see a column named ‘siteurl’ there. In the ‘siteurl’, click to the part of the image below and replace this URL http://localhost/yoursitename by your new URL (your domain name).
Now click to the ‘Go’ button, and save. There after, go to the page 2.
There, you will be required to change a value. After getting to the page 2, scroll down to discover an option named ‘home’. Edit that too, as before and write down the name of your new site, and save it, by clicking to the ‘Go’ button. Okay, all of your works about your database are complete now.
Now, Edit Your wp-config.php File.
Now, you have to do the last finishing job, and that is, to edit the ‘wp-config.php’ file in the uploaded files of the wordpress of your new server (cpanel).
For this purpose, open the ‘wp-config.php’ file from the File Manager or FTP of your server (cpanel). Now, cast your look below in that ‘wp-config.php’ file of your, where, the information about your database is given; edit there and replace the name of your own database, username and the passwords (that is, I mean to say, your newly created database name, username and passwords).
After this done, save the file (wp-config.php), and upload this in your new server (cpanel).
And along with this saving and uploading done, also ends the transfer of your wordpress site, from one server to another server.
Hope, you will be benefited from this write-up. I think, my labour and endeavour will be crowned with success, if you derive any benefit from this rich write-up. However, if you face any problem, then, please don’t forget to let me know of your problems, by making comments. Thanks to you all.
One more retrospect, if the size of the database becomes too outsized, in that case, it will be difficult to transfer the database manually. Many a times, it is observed that, database more than a 100 mb (mega byte) cannot be imported manually. In that case, if you have used a paid hosting, and the hosting panel is the cpanel, then, ask your hosting provider, if they provide you with free site transfer facility. If they provide you with free site transfer facility, then, barely within 10 minutes, your site will get transferred. Therefore, you must check all these matters carefully and minutely, before you have bought a hosting.
guidelines to transfer site from one server to anothermoving wordpress from localhost xampp to server siteurl home wp_options