You see a list of messages. If there are items that have not been imported, check the list to determine which items to retry. If an error message appears, take a moment to check and make sure there are no imported items. Each error message identifies the specific item that failed the import process. Many plug-ins and topics use custom post types. If these custom post types have not been recreated, or the relevant plug-ins have not been installed and activated in the local installation, the import process will fail. To successfully import these custom post types, you must install the plug-ins and topics that create the type, or manually create custom fields. For me, the items that failed to import include: Three font controls created by the easy Google fonts plug-in. Two types of user evaluation posts made with the themes being used on my website; Query form a query form created with 7. To successfully import all these items, you must install the easy Google fonts and contact Form7 plug-ins and create a user evaluation post type. Then, on my live site, export only the specific items that failed to be imported using the export tool, and then retry the import process. No font control or query form is required. After redesigning the site, you do not intend to use two plug-ins. But I want to save the assessment. In order to import this post, custompress is installed (the user-defined post type UI has also completed the work), the user evaluation post type is created, the evaluation is only exported from my real-time website, and then the evaluation is imported using the import tool. Note: the same XML file is not used to get the postscript. This will restart the import process of all my website content, and there may be content duplication. Instead, I used the Tools > export interface on my real-time website, only selected the assessment, and created a new export file. Work like charm. Although the tools are limited, the right choice in some cases is a very simple way to move website content. If the WordPress installation contains only standard post and page types, and the plug-in is preinstalled to continue to be used in the local site, the import process must be fully running. If you want to completely redesign the WordPress site, this approach may be the best choice. Keep all content, but do not need to deal with plug-ins and themes that will not be used after the redesign. Manually move files and databases to more effectively control site migration. Method 2: to manually copy the entire word press website to the local development environment, you only need to manually move the files and database tables. Step 3. Set up a local copy of the site database. Set up a local copy of the site file. Configure the site file to communicate with the database and assign a local URL. Then carefully load the website, run the database search and replace plug-ins. Note that this is the most complex and error prone of the three methods described in this article. If your main focus is to move the site quickly with as few errors as possible, use one of the other methods. However, if you want to learn more about how WordPress works, please manually move the WordPress installation. You will gain working experience in hosting, database, FTP and PHP. You may have the opportunity to test Internet search technology. Solve all possible problems on the way. Log in to the local copy of the site database, set up a managed account (or cPanel), and export the database copy. Shared hosting
If used, the hosting provider most likely has phpMyAdmin installed and can be used for this purpose. Log in to the accounts control panel and run phpMyAdmin. In cPanel, find the database menu and start phpMyAdmin. After running phpMyAdmin, click database on the left side of the screen. If you are unsure what database is required, you can use the wpmu dev dashboard plug-in to identify the appropriate database. After installing and activating the dashboard plug-in, go to wpmu dev> support. Select system information and click the MySQL tab. Now scroll down until you see the database row. Almost the fifth item. This is the database phpMyAdmin will select. The wpmu dev dashboard identifies the database and tells you more about the server and word press installation. After selecting the appropriate database, click the export menu item. You can find it in the ribbon at the top of the window that displays phpMyAdmin. Use phpMyAdmin to export the website. Unless you only want to export specific database tables, select the quick radio button on the next screen. Then select move to the database copy. To import the entire database, select the quick option and click move. Next, if xampp is not already running on your computer, start it and start Apache and mysql. After installation and running, select MySQL admin to start phpMyAdmin locally. Or URL http:\/\/localhost\/phpmyadmin You can access the application by entering in the address bar of the browser. In the MySQL row, click admin to start phpMyAdmin. Click database, enter the database name at the database creation prompt, and create a new database in phpMyAdmin. You can specify the database name as needed. A database named jplocal was created. Please select the name of male. Any name is OK. After creating the database, you can import the database tables ed from the managed account. To do this, the local version of phpMyAdmin( http:\/\/localhost\/phpmyadmin ), and then select the new database you just created from the list of databases on the left side of the application. With the database selected, click Import from the top menu of the application. Using the select File button, select the SQL file you previously ed from the managed account, scroll to the bottom of the page, and then click move. If you are lucky, you can import the database successfully. This is not the case when you click go. But I saw this message. If an error message is displayed, read the error messages and suggested FAQs. If all other methods fail, use the Google system to solve the problem. The problem is that I want to upload the database file to run PHP on xampp. That is, it is larger than the maximum upload size allowed by the ini copy settings. Click the import screen with a maximum upload size of 2048kb again to confirm that this is a problem. My database size is about 5 MB, so I need to increase this limit. In order to increase the limit, PHP. The upload\u max\u filesize value is adjusted in the INI file. This file finds the xampp root folder, opens the PHP directory, and the file name is PHP. You can find the ini and find it. Male php The. INI file controls the PHP settings for the site. After finding the file, open it in a text editor and search for upload\u max\u filesize, which is limited to 2M
Upload \u max\u filesize from 8m. Instead of changing the original value, we annotated the original line with a semicolon, added a comment describing the original value, and then created a new line with the new value. If you need to edit the value again, the comment displays the original value and what I edited. If you leave such a comment, you can restore the file to its original state as needed. ‹ keep the original value, add comments, add descriptions and increase the file size of new lines. Php After saving the changes in ini, stop Apache and MySQL in the xampp control panel, restart, and then reload phpMyAdmin. Then try to import again and receive a success message. Male successfully imported the database with phpMyAdmin. Setting up a local copy of a site file the fastest way to copy a site file from a managed account to your computer is to use an FTP client, such as FileZilla. If you have never used an FTP client before, please read the tutorial on how to use FTP correctly in WordPress before you start. ing errors are common when ing large files using FTP. Sometimes the FTP client will ask whether to the same file twice and overwrite the first file with the second file (usually, if the source file is the latest file, I will choose to overwrite). In addition, some files may just fail to transfer and need to be ed again. Note the messages generated by the FTP client and ensure that all files on the web site are ed correctly. To start, access the managed account via FTP and browse the directory containing the site files. In most cases, it can be found in the public_html directory. If your account hosts only one web site, you may need to copy the entire public\u HTML directory. In my case, my personal website is located in a directory named jonpenland in the public_html directory. So the entire jonpenland directory is copied. When you copy a web site file to your computer, copy it to the HtDocs directory in the xampp directory. Simply drag the directory you want to copy from the server to the directory you want to copy. Copy the entire website directory, import all website files, and maintain the file and directory hierarchy. Depending on the size of your site files and the speed of your Internet connection, it may take several minutes to copy all your site files. Note the messages generated by the FTP client. If the fails, add the process to the queue again after it completes. Web site configuration at this time, the web site files and databases are located on the computer so that they can run locally. But it is not configured to talk to each other. The final step in the process is to have the site file and database communicate with each other. WP config for the web site. You must manually edit the PHP file, set the site to connect the WordPress site database to the site file, and confirm with the local URL. Navigate to the folder where you copied the site files, WP config. Navigate to PHP. Required WP config. The PHP file is located in the directory that contains the web site files. Open the file in a text editor and make the following changes: Change the database name to match the name of the previously created local database. Change the database user name to root. Delete the database password. Determine where word press is installed in the web site file by changing the wp_home definition (or adding it when it is not displayed). W is used to identify the address that needs to be entered in the browser address bar to load WordPress.