-
WordPRess blog post URLs use the form of post ID, such as http://www.***.net/123.html . Some people will find that the IDs of continuously published blog posts are discontinuous. The ID of the previous post is 1. , the latter article becomes 3 or other numbers. This is because the WordPress blog does not disable the auto-save function. The plug-in introduced in this blog is the Disable Revisions plug-in that disables WordPress auto-save.
Specific reasons for discontinuous IDs:
WordPress blog has added the Post Revisions function in versions 2.6 and later. This function will save different versions of the same article. The same content occupies the database multiple times, resulting in discontinuous article IDs, which wastes database resources. . The Disable Revisions plug-in can disable this function to solve the problem of discontinuous article IDs and save database resources.
Disable Revisions plug-in installation and use:
1. Download the blog plug-in Disable Revisions and upload it to the wp-content/plugins/ directory (can be added and installed directly in the blog background)
2. Use a text tool to open the wp-config.php file and add code in the file
define('WP_POST_REVISIONS', false);
3. Log in to the blog backend and enable the plug-in in the list of installed plug-ins.
Reminder: Back up your blog’s database before using this plug-in.
Tip: If you are not using this plug-in from the beginning of your new blog, you can use the wp cleaner plug-in introduced in the previous blog post to delete unnecessary WordPress revision articles or drafts.
» Please indicate the source when reprinting: Blog Bar
» The address of this article: http://www.boke8.net/wordpress-disable-revisions.html
Thanks for the blog post