Absrtact: When it comes to WordPress moving, most of the WP players can still easily solve the problem, so for the novice will encounter a lot of trouble, I would like to summarize the issue of personal experience of this tutorial, I hope to be able to help just contact WordPress this program
When it comes to WordPress moving, most of the WP players can still easily solve the problem, so for the novice will encounter a lot of trouble, I would like to summarize the problem of personal experience of this tutorial, I hope to be able to help just contact WordPress This program novice webmaster, Of course, a short period of time to quickly resolve the visit after moving, but also conducive to SEO.
Data preparation
WordPress blog Moving Words, the main is the data migration, the data is divided into two parts.
The first part is the Web page data, in order to let you novice players easy 10 minutes to solve the problem of WordPress move, I suggest that you do not login FTP software, all files to download to the local, this is very time-consuming practice, May be due to your space is the United States or other reasons for the backup to the local speed is very slow, the quickest way or through the space management background, the first name folder under the data compression, compression after the direct download, so the speed will be much faster, half a few 10 trillion. In the compression of the page data should not be omitted, is your domain name folder data.
The second part is the site database data, most players in the time to sell the database will be a bit alarmed, these must not panic, into your database backstage, your current blog database files back to the local, generally exported here can be checked the compressed file, and soon, these two steps have been done, you can rest assured that the use of the The data is in the panic.
Data relocation Work
The data moving work here is to move your current website data, migrate to the new virtual space (general independent blog is virtual space), this time need to add your domain name in the new virtual space background, set up a database, import the data before downloading. Then upload the page data compressed files, to the space to extract the background online, you need to upload your files to the directory on it, the default directory for/domains/corresponding domain name/public_html, this directory is the corresponding domain name root directory, must not send the wrong directory, Sending the wrong directory can result in inaccessible access.
Domain Name resolution work
This step is also extremely important, many players here have encountered a problem, their own domain name before the purchase is a new network, but parsing with the other resolution, and is not their own resolution, encountered this situation, prompted you to enter the new network background DNS resolution management can delete the current resolution, Enable the resolution of the new network services can be, personally feel that if the new domain name is used, the best is to use the new network analysis, so convenient for their own management. And this time also remember to parse two addresses in the background to the new IP, one is the Web site with three W, one is not with three W URL, here we can refer to WordPress blog to achieve the 301 method of a article, Zhang told you all these three steps are finished half oh.
wp-config.php File Modification
Because the new database was enabled after the move, the database name, username, password changed So you need to download wp-config.php files to the computer, modify the downloaded file in the wp-config.php, the database name and the user to replace the new, if not changed without modification. Follows:
* * MySQL Settings-specific information from the host you are using * *//
/** WordPress Database Name * *
Define (' db_name ', ' SQL ');
/** MySQL Database Username * *
Define (' Db_user ', ' blog ');
/** MySQL Database Password * *
Define (' Db_password ', ' 88888 ');
After modifying these, try refreshing to see, can visit is perfect successful move, if can not visit also don't panic, wait, because DNS resolution national effective time but not the same.