1. Modify the Wp-config file, it is best not to use Notepad to modify, with notepad++ or UltraEdit and other editors, the database information into your new space database information, as follows:
/** Name of WordPress database */
Define (' db_name ', ' Your new Spatial database name ');
/** MySQL Database User name */
Define (' Db_user ', ' Your database user name ');
/** MySQL Database Password */
Define (' Db_password ', ' Your database login password ');
/** MySQL Host */
Define (' Db_host ', ' Your database address ');
Fill in your new host space's database name, database username and password. Note that the MySQL host this default is ' localhost ', if you are a Windows host, without modification, if it is a Linux host, you may need to fill in the database address.
2. Enter the new space phpadmin modify the database: Modify the database table Wp_options in the "SiteURL" and "Home" field values, changed to your new domain name;
3. After the use of the domain name resolution to space, login to your WP backstage, modify your blog address for your new domain.
4. The original article has the link or the picture is uses the former domain name address, therefore also must revise those address. You can modify the database directly in Phpadmin or velvet-blues-update-urls this plugin (recommended). For example, in Phpadmin, execute the following statement:
UPDATE wp_options SET option_value = REPLACE (Option_value, ' old address ', ' new address ');
UPDATE wp_posts SET post_content = replace (post_content, ' old address ', ' new address ');
UPDATE wp_posts SET post_excerpt= replace (post_excerpt, ' old address ', ' new address ');
UPDATE wp_posts SET guid= replace (GUID, ' old address ', ' new address ');
WordPress website After moving