Sunday, April 22, 2012

Mirror my WordPress website

I have a free host WordPress website:
After I received several emails  to remind me to update to a premium account,
I decided to backup or mirror my WordPress to another free host website.
I choose
My WordPress mirror site:

To copy and restore WordPress from one site and another is as follows:
1) Copy the wordpress directory to another site.
2)  in wordpress/wp_config.php, change
define('DB_NAME', 'zokac_6523699_wordpress');

/** MySQL database username */
define('DB_USER', 'zokac_6523699');

/** MySQL database password */
define('DB_PASSWORD', 'password');

/** MySQL hostname */
define('DB_HOST', '');

to new database hostname, database name, database username and password.
3) run wordpress/wp_config.php

4) login your WordPress admin account, select Export under Tools in left menu in old website,
save file as xml file.

5) login new WordPress website as admin,  select Import under Tools in left menu. You can select new theme or use original theme.


No comments:

Post a Comment