Files to be moved are mainly website files and database files. For simple WordPress operations, you can back up website files, export database files, upload website files, import database files, and move website files, modify the database and user name in WordPress WP-config, bind the domain name to modify DNS, wait for about 2 H files to take effect and other operation methods, see the Notes website blog change host space move: discuz! X2.5 the entire process of moving the website file was uploaded for a long time, with a network speed of around 15 kb, and uploaded for an hour. You can consider using securecrt or other download tools to upload a few minor issues, that is, when the database imports files, the phpadmin interface does not have the permission to create a MySQL database. Use the cpanel tool MySQL Database Wizard to create a new database. The database prefix hawkhost is permanently written by default, and the domain name prefix is added by default. Therefore, you cannot create a database with the same name as the original database user. After creating a database, use import. Import the exported localhost. SQL .zip file according to the instructions in the example. An error is reported that you are loading an unsupported compression format (Application/zip ). The configuration file does not have configuration instructions for this format.
You can only manually import the SQL file in the compressed package. Because you cannot directly create a database, you must modify the content in the SQL file. Delete the SQL statement used to create a database in the SQL statement, so that no error is reported during import. The results show that 76 queries are successfully executed.
Experience WordPress migration and summarize the following points: