move blogs from one WordPress to another

I want to move my blogs from the WordPress 3.0.1 in the folder: wordpress301 to a WordPress 3.0 in the folder: iblog .

First, I exported from the WordPress 3.0.1 database and then imported it into the WordPress 3.0 database. The webpages turned broken ( I wonder if it is ok if I transfer the database from the version 3.0 to 3.0.1. ).

Then, I just transfered some tables and keep some tables unchanged.

comments in the tables:
wp_commentmeta
wp_comments

blogs in the tables:
wp_posts

categories in the tables:
wp_terms
wp_term_relationships
wp_term_taxonomy

configurations in the tables. I keep those tables unchanged:
wp_postmeta
wp_links
wp_options
wp_usermeta
wp_users

Then, I replace /wordpress301/ to /iblog/ in the sql file of table wp_posts before I import it in the database, and redirect www.**.com/wordpress301 to www.**.com/iblog. Now everything seems fine.

Leave a Reply

Your email address will not be published. Required fields are marked *