WordPress website Move (change host does not change domain name) experience sharing

Source: Internet
Author: User
Tags mysql host change domain name wordpress database wordpress blog

More than 20 days of preparation-case audit down, the space is not stable, the site a lot of problems, not open slow is the wrong page, so change a host, moved back to the domestic finally stabilized, the middle encountered a lot of problems. Now for everyone to share the next Jasper blog site move process it.

First to the original host space back up the site data:

There are two types of backup data: Backup of the site database and backup of the entire site (all directories and files of the WordPress blog).

1, the database backup can be backed up by phpMyAdmin. The control Panel has the database information can be directly backed up, there is no need to download phpMyAdmin for backup. I belong to the situation with MySQL. First login to the Control Panel, click on MySQL management, log in, select your domain name, and then choose all the data exported to SPL files.

2, the entire station data can be downloaded through the FTP package.

Next is to import the data into the new host space

1. Import the backed up data into an existing database. I use my friend Pengjian's server, took his account password directly into his server changed. Enter his server to find my website fill out my database account password, import SQL file is finished.

2, the whole station data and SQL files are also uploaded to the new space with FTP. It is generally necessary to modify the database parameters associated with the wp-config.php file in the root directory of the Web site, such as:

/** Name of WordPress database */

Define (' db_name ', ' Your database name ');

/** MySQL Database User name */

Define (' Db_user ', ' Your database user name ');

/** MySQL Database Password */

Define (' Db_password ', ' Your Database password ')

/** MySQL Host */

Define (' db_host ', ' localhost ');

Fill in the database name, database user name and password for the new host space. My database user name, password are the same, do not need to change, save a lot of things. But notice, MySQL host this is the default is ' localhost ', if you are a Windows host, do not modify, if it is a Linux host, you need to fill in the database address, or the database connection error will occur.

Final application for domain name whitelist

At first I also forgot this step, the website cannot open. Then the host House to apply for a white list, through the website can be opened normally. Host House Whitelist application: Login Member Center-click on my Site preparation-case-whitelist application.

This move was completed, encountered a lot of problems, but still solved, fortunately did not encounter difficult problems, moving is smooth.


This article is from the "Ho Jasper Blog" blog, please be sure to keep this source http://hebiyu90.blog.51cto.com/9736895/1590770

WordPress website Move (change host does not change domain name) experience sharing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.