Practical WordPress background MySQL operation command WordPress
BitsCN.com
Keywords:WordPress MySQL Background DatabaseAddress: http://www.cnblogs.com/txw1958/archive/2013/01/06/wordpress-sql.html
WordPress stores all its information fragments
I recently read Wordpress is the first choice for building a personal blog by Chinese people. Its position is equivalent to discuz, the first choice for building a forum (in other words, discuz only reports the command execution holes caused by
1. Two methods to get WordPress
First, you can go to the official WordPress website to check the latest WordPress quantity. For example, WordPress 3.9.1 is:
Http://cn.wordpress.org/wordpress-3.9-zh_CN.zip
Run the mkdir command to create a directory.
WordPress stores all its information fragments (including articles, pages, comments, blog links, and plug-in Settings) in the MySQL database. Although WordPress users can control the above information snippets through website background editing,
However, if you have hundreds of articles on your WordPress site, and you need to make a whole-site change, then editing from the background is a bit time-consuming and laborious, and the chances of making mistakes are increased. The best way is to
1. Two ways to get WordPressFirst you can go to the official WordPress website to see the latest wordpress download address how much. For example, the wordpress 3.9.1 download address is:Http://cn.wordpress.org/wordpress-3.9-zh_CN.zipFirst use mkdir
The following code from the network, untested, the operation of the database is risky, please backup in advance!Add a custom field to all articles and pagesThis code can add a custom field to all articles and pages in the WordPress database. All you
However, if you have hundreds of articles on your WordPress site, and you need to make a full-site change, it is time-consuming and laborious to edit from the background, and the odds of making a mistake will improve. The best way is to go to the
Or, colleague. Need to help her print it out SQL debug output to page SQLHere we use plugins or a way to start the config file wordpress debugCreate a new file in the Plugins folder wordpress/wp-content/plugins/called bt_debug_sql.php '; & nbsp
However, if you have hundreds of articles on your WordPress website, and you need to make full-site changes, it will be time-consuming and laborious to edit one by one from the background, and the chance of making mistakes will also increase. The
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.