WordPress Migration of some common problems of the solution to organize, wordpress migration _php Tutorial

Source: Internet
Author: User
Tags install wordpress import database wordpress migration

WordPress Migration When some of the common problems of the solution, WordPress migration


One, Import database prompt data table already exists

Zhou Liang Blog To use the host-host 91 as an example, to provide the phpMyAdmin function, import the database only need a convenient database selection, import on it. Although the method is simple, it is possible to encounter the Hint database XXX table has existed. This problem may occur because the site file was previously uploaded to host space after a previous transfer, resulting in a new database creation and a new data table, resulting in duplicate data tables when the database was re-imported. The workaround is to find the existing XXX table that you are prompted to delete and then re-import.

Second, the website documents and data upload successfully, typesetting confusion

First of all, we need to check the PHP version of the site is set correctly, WordPress, the general use of 5.3 or 5.4 of the PHP version, if it is 5.2, it is possible to cause confusion in the site layout problems. As an example of host 91 used by the Zhou Liang blog, log in to the control Panel and change to version 5.3 in select PHP version.

If the PHP version is modified or not, then we need to check that the loading file path of the website loading site file is correct. Right-click the browser-review element to view the loading of the site, it is possible to find that many files are not loaded, and then look at the access path will find that the site access path and site file loading path is inconsistent, so we need to connect to the database of the site, The path modifications to load the Web site data file are consistent with the site access path at the options table in the database.

If the PHP version is modified or not, then we need to check that the loading file path of the website loading site file is correct. Right-click the browser-review element to view the loading of the site, it is possible to find that many files are not loaded, and then look at the access path will find that the site access path and site file loading path is inconsistent, so we need to connect to the database of the site, The path modifications to load the Web site data file are consistent with the site access path at the options table in the database.

Third, visit the homepage blank

Log in to WordPress background, appearance-topic to see if you have uploaded a theme that corresponds before you enable the migration site. If you don't see the previous topic, you'll need to re-add the theme or wp-content/themes it at the control Panel and then enable the theme in the WordPress background theme Management Office.

Iv. Some functions in the website are not available

Login WordPress Backstage, plug-in management-installed plug-in, check whether the site plug-ins are all enabled, will be the plug-in corresponding to the site features enabled.

Five, the website homepage can be accessed, other options click No response or prompt 404 error

Log in to the host Space Control Panel, open the File management Office to view hidden files and see if the. htaccess has the correct content. The content of the. htaccess file that is generally initialized is:

# BEGIN WordPress rewriteengine onrewritebase/wp/rewriterule ^index\.php$-[L]rewritecond%{request_ FILENAME}!-frewritecond%{request_filename}!-drewriterule. /wp/index.php [L]

# END WordPress


If you have set redirects or static links, you need to add the same content as the previous site.

PS: Recommended plug-in Backup method
WordPress Move is a very good site backup and restore plug-in, support a button full backup of all the Web site files and databases, one-click Restore, you can also send backup files via FTP to other host space, to achieve the site move. The plug-in backup package is very intelligent, each compressed package can be extracted separately.

After enabling the plugin, in Settings > WordPress Move, set the remote backup host's FTP information, the maximum volume per database package, and the package size.

You can then access tools > Backup Manager to back up the database, or you can backup the entire site. The backed-up files are saved in the backup directory under the plugin, so make sure your host space has enough space to hold the backup files before you backup

After backup, Access tools > Migration Assistant, there are 3 features that can be used:

Change the domain name--You can change the domain name of the current Web site, it will bulk replace the old domain name in the database;

Migration-You can send your backed up files and databases to the remote host space (that is, the FTP set up above), before using this feature, please install WordPress and WordPress move in the remote host space, and then the above FTP Remote backup path is set to the backup directory under the plug-in, so that when the complete file is sent, you can access the remote host space of WordPress Move, through the "restore" function to restore, the implementation of the site moved.

Restore--You can select a backed up file to restore from the backup directory.

Search WordPress Move in the background plugin installation screen to install online

http://www.bkjia.com/PHPjc/1075076.html www.bkjia.com true http://www.bkjia.com/PHPjc/1075076.html techarticle WordPress Migration Some of the common problems of the solution, WordPress migration One, Import Database prompt data table already exists to Zhou Liang blog using host-Host 91 For example, provides ...

  • Related Article

    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.