How to migrate Wordpress from one host to another

This is a very small how to on migrating Wordpress from one host to another.

FYI, Wordpress is a highly versatile blog script based on Php and MySQL. It can also be used as a content management system to power your web site. If you thinking of setting up a blog, I would recommend using Wordpress.

This is how you can migrate from one host to another:

  1. Using an FTP client, download all the wordpress files to your hard-disk. Sometimes, you won’t be able to see hidden files like .htaccess. Use appropriate filters (-La) in your FTP client to view those files. Exclude system folders like cgi-bin.
  2. Upload these files to your new hosting account. (You can also copy files from one site to another directly using ftp clients like CuteFTP.)
  3. Login to your old hosting account and go to phpmyadmin. phpmyadmin is a tool that lets you manage MySQL databases. Select the appropriate database and click export. Download the exported file (in .SQL format) and save it on your hard disk.
  4. Login to your new hosting account and create a new database. Add a new user to the database. Go to phpmyadmin and import the SQL file to the database.
  5. Open up wp-config.php in a text editor and add the new database details. Save it and upload to your new account.
  6. Navigate to the url and you will have your blog up and running.

This entry was posted on Saturday, January 19th, 2008 at 3:10 am and is filed under Script Installation, Wordpress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply