怎么搬家Wordpress?

Ingredients:

  • 1 Cup SQLyog (community edition) for exporting/importing (substitute: phpMyAdmin)
  • 1 tsp. favorite FTP client (FileZilla, CuteFTP, WSFTP, CoffeeCup, iFTP)
  • 1 whole fresh WordPress install, unzipped and ready to upload (get it here)
  • 1 new host (Dreamhost is a good host)
  • 30 mins to complete
  • a dash of know-how (provided below)

WordPress (WP) is a piece of cake to install, but what if you need to move a WP install to another host, and you don’t want to deal with your posts being all wonky and your links weird? You can try using the import function of WP, but I found it to be very hard to work 100% and give you exactly what you had before. Below is a way to get your exact blog back, almost exactly what you had at your old host. The only requirement is that your new hosting environment be somewhat similar (similar version of PHP and MySQL).

Read the rest of this entry »