Today i want to share, how to migrate our wordpress blog into another host. I do not know why you will you do this, maybe you choose bad host service (oftenly down) or you have short off your space or bandwith. No more way to fix it except move your web into another host. What ever is your problem is, i will show you how to move your wordpress blog into new host.
There are two major way you can get through this,
FIRST you can export via xml files,
and the SECOND were via Database.
In this tutorial, i will concern with Database way, because it much easier for me.
To migrate our wordpress blog with database implant all you need is Backup your database first. Then deploy it into new location. But do not forget to backup the files also!
Step-by-Step to move our wordpress via database :
- Login into your OLD directory of blogs, and download your wp-config.php file

- Open those wp-config.php file, and find your database name. It will displayed below this sentences /** MySQL database username */. It will looks like define(‘DB_USER’, ‘***_wrdp**’); . The “**” sign will be differ every blogs.
- Next step is Login into your OLD CPANEL site, and choose PhpMyAdmin to backup your database. Select the proper database name (info from wp-config.php), then click export button on the top sidebar. Click the “save as file” option, then fill database name. Next, click GO button. And save it into your hardisk.

- The next step is backup your files inside your directory, just come inside wp-content folder, then backup Plugins, theme, and Upload Folder. You can compress this folder first, than download it (to make the file smaller and easy to download). Use this backup process via File Manager Inside your Cpanel.

- After all of “backing up stuffs” done, you should change your Domain DNS (Name Server) with new DNS of your new host. maybe this will make you wait until it resolved. It times depend on your host, it could be 3 hours until 24 hours.
- After your Domain were redirected into new Host correctly, all you have to do is Login into your CPanel and Create new WordPress (install). You can Use Fantastico, or you can install manual. It’s all up to you, just remember that YOU MUST remember what Database Name for the new WordPress installation. In this parts i will not teach you how to Install WordPress, because when you read this, you must ever install wordpress, even it only once. LOL
- After you succeed installing new wordpress, just open MyPhpAdmin and select database name for the new wordpress that you’ve been installed before. Make sure that you have select the correct database name!. Then click “Check All” option and select “Drop” Menu. Then click Go button. You will have last confirmation about dropping this table, just click YES. Then all the result is all table were deleted successfully.

- Next Step is importing your old database into this database. To do that step, just click Import button on the top sidebar, and choose your saved database by click “Browse”. Then click Go. Just wait the magic comes out (i mean importing succeed).

- Last Step to do, were uploading your file backup (plugins, themes, and upload folder). You can using FTP software or using File Manager through CPanel. If you follow my instruction before, you should upload your ZIP backup into “wp-content” folder, than extract it.

- All step has DONE. Your site will works fine, but first time you login into your wordpress, maybe there will be one message shown from wordpress to confirm Database Upgrade. Don’t worry, it’s natural!. Just click the Upgrade button. And all your efforts will be finish.

Some time, you should need to re check your permalinks, maybe it changed (it should be not change), but please check it for make sure.
That’s all the tutorial today, if you have any problems when do all this step, leave your comments here.
Regards,
Irwanbee
You Can Download This Article in PDF File Here
Please Login or Register to see the download link.










I have been dreading transferring my WP blog from a lame duck host to something more robust, thinking the issue was too difficult to manage. However, after finding this article and following the steps precisely, I managed to move my entire blog, database, comments, users, everything, to the new host. Many, many thanks for making it easy on me. Much appreciated.
[Reply]
where can i download this wp-config.php file in my cpanel
[Reply]
irwanbee Reply:
December 28th, 2009 at 6:11 pm
you can see it on your root directory of the blogs.
example :
1. Your site is a ADD ON domain or subdomain inside folder “EXAMP”, then you can see those wp-config.php inside “/public_html/examp/”
2. If your site is main domain,.. then this file will be inside “/public_html/” folder.
Download that file, and open it with notepad. Then you can read, what is the DATABASE name that you should backup.
Still got problem?, feel free to ask.
[Reply]
Telugu movie blog Reply:
December 28th, 2009 at 6:53 pm
Thanks for solving my problem,i am searching lots of sites since 2 days to find this.
[Reply]
irwanbee Reply:
December 29th, 2009 at 8:22 am
you’re welcome.
please come back again if you have another problems
I have also read another wonderful tutorial related to migrate every kind of php application from one host to another. Most of the details are discussed in that post including crons.
[link removed, reason: not related to post]
Cheers
[Reply]
themetutorial Reply:
March 14th, 2010 at 7:40 pm
Hi Khubab,
Thanks for your comment.
Btw, I remove your link as it is not related to this post. I do not want to make my reader confused.
ThemeTutorial
[Reply]