Home  >  Article  >  CMS Tutorial  >  How to move WordPress

How to move WordPress

藏色散人
藏色散人Original
2019-07-16 09:46:113492browse

How to move WordPress

How to move wordpress

Wordpress is a very popular blog website building program. It is inevitable that you will encounter some problems during use. When moving a server, I will give you a detailed introduction below by moving the website on the server to the local 127.0.0.1 as an example.

Methods/Steps

Back up website files

Simply put, download everything from the server website. We use the ftp tool to download the unused files ourselves. In fact, if all the packaged files are packaged and then downloaded, the speed will be faster. Of course, if the Internet speed at home is fast enough, this will also work.

How to move WordPress

Back up website database

Many tools will be introduced on the Internet. We don’t have to go to the database management page directly. , first find the name of the database you want to operate, then find the export and see the picture for operation.

How to move WordPress

How to move WordPress

How to move WordPress

How to move WordPress

#After completing the above two steps, start now Local recovery.

First copy all website files to the local server folder, then find the wp-config.php file, rename or delete it, as shown in the picture is renamed (so as not to use it again in the future, So it is not deleted).

How to move WordPress

Open the browser and enter the address 127.0.0.1/**/wp-admin/install.php, where ** is the name of the subdirectory where the program is placed (this is very basic , I won’t go into details), start installing wordpress.

How to move WordPress

Restore the database

After the installation is completed, we need to enter the database management page of the new server and perform the ** just exported To import the .sql file, just follow the arrow sequence in the diagram.

How to move WordPress

Enter the background to modify the website address

After the above import operation is completed, the username and password for website management will become the previous server After entering the username and password on the background, find [General] and modify the icon information to the new website URL.

How to move WordPress

This is it! If you have any questions, contact me and I will try my best to solve it for you.

For more WordPress technical articles, please visit the

WordPress Tutorial column!

The above is the detailed content of How to move WordPress. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn