注目の記事 PICK UP

Delete post revisions on schedule – WP Optimize

Last Updated 2021.02.06

Delete post revisions on schedule – WP Optimize

15-wordpress-header
When you start a website in WordPress and post articles regularly, what accumulates is data called a "revision" of the underlying of the posted article. This revision is convenient because you can version the article before publishing it, and you can rewind it to a certain point when you make a mistake, but for each article that has been published, it is data that is only garbage and access to the database is slow and very disturbing. WP Optimize is a plug-in that safely and regularly deletes this revision to keep the database clean at all time.

When using this plugin, be sure to back up your WordPress database before using it. Also, make make the plug-in version always up-to-date, and don't use the old version. The reason is that you have direct access to a database, an important vault that stores WordPress data, so using an older version can break the correct data structure of WordPress. This WP Optimize is developed by the developers of the backup plug-in UpdraftPlus, so I think there is no problem with updates and safety. However, please set and use it at your own responsibility.

If you operate a WordPress site, you will need to back up the website. Introducing UpdraftPlus, a plug-in that makes it easy to back up and restore. Automatically back up to the cloud by linking with Google Drive. Restoring can also be easily restored in one click.

Install WP Optimize

15-wordpress-01
Click the left menu "Plug-in" → "New" in the extra screen, go to the new addition screen of the plug-in, and enter "WP Optimize" in the plug-in search form. When you see the WP Optimize plugin, press the "Install" button to install the plug-in. When you're done installing the plug-in, "activate" it.

Wp Optimize database settings

15-wordpress-02
Since the "WP-Optimize" menu has been added to the left menu of the management screen, click "WP-Optimize" → "Database" to go to the database settings screen. When you see the settings screen in the figure above, check the Enable scheduled clean-up and optimization (Beta feature) item enclosed in a red frame, select "Select Schedule Type (Default: Weekly)" to select the optimization schedule for the database you want to set. Check "Clean all post revisions". For other items, it is recommended to check for safety reasons. The purpose of this article is to clean the database by periodically deleting revisions of posts, so do not do anything else. Once you have the above settings, "Save Settings" and schedule a revision deletion of the database.

WP Optimize scheduling confirmation

15-wordpress-03
Once you have set the scheduling for deleting revisions of posts in the previous paragraph, go to "Dashboard" from the left menu of the management screen. Then, click "WP-Optimize" on the left → "Database" to transition to the settings screen. This is once moved to the dashboard to see the saved settings reflected. After transitioning to wp optimize database settings screen, click the "Optimization" tab to display it. If it is "periodic cleaning enabled", the correct setting is reflected. The revision is now deleted in the scheduled settings.

WP Optimize image settings

15-wordpress-04
The WP Optimize plug-in automatically uploads images and also adds the function of compressing image size. I think that this function is a function that is divided into useful people and those who are not.
This site uses eye-catching images and other images as appropriate using Photoshop in advance, so we would like to use them in images while uploading images. So I surrounded it with a red frame.
Turn off the Show compression meta-box on an image's dashboard media page.
Turn on the radio button "Prioritize retention of detailed information".
By setting the above settings, WP Optimize will not automatically compress the image when you "add media" from the post screen.
For information on image compression, see the link below.
It's an English article, but I think chrome's Japanese translation will help you understand most of the features and image compression specifications.

With the launch of WP-Optimize’s new smushing image compression feature, many people may be unaware of the advantages and disadvantages of the Lossy and Lossless compression methods. This blog will explain in detail what kind of results and savings you … Continue reading →


If you operate a WordPress site, you will need to back up the website. Introducing UpdraftPlus, a plug-in that makes it easy to back up and restore. Automatically back up to the cloud by linking with Google Drive. Restoring can also be easily restored in one click.

スポンサードリンク

Related post

  1. 17-postandpage-aicache

    Differences between WordPress post pages and fixed…

  2. 29-complianzgdpr-aicache

    UK GDPR is even tougher-Complianz GDPR & CCPA…

  3. 07-wordpressfirst-aicache

    The new block editor is difficult to use. In such …

  4. 14-wordpress-aicache

    Easily Back Up & Restore WordPress Sites R…

  5. 04-wordpressfirst-aicache

    Settings to install WordPress and do it first R…

  6. 30-wpsitemap-aicache

    Generate user-friendly sitemaps in WP Sitemap Page…

  7. 03-wordpressfirst-aicache

    Settings to install WordPress and do it first R…

  8. 05-wordpressfirst-aicache

    Settings to install WordPress and do it first R…

  9. 06-wordpressfirst-aicache

    Prevent unauthorized WordPress logins with SiteGua…

スポンサードリンク

Featured Posts

  1. 20-marketing-aicache Marketing Definition-From Consumer-Orien…
  2. 01-wordpressfirst-aicache Settings to install WordPress and do it …
  3. 05-wordpressfirst-aicache Settings to install WordPress and do it …
  4. 12-wordpressfirst-aicache How to intall and advanced AMP for WP
  5. 13-wordpressfirst-aicache How to set up amp for WP in detail ̵…
  6. 11-wordpressfirst-aicache What is AMP that improves mobile usabili…
  7. 05-05-sxomarketing-aicache SEO measures from -2022 to realize SXO s…
  8. 03-wordpressfirst-aicache Settings to install WordPress and do it …
  9. 04-wordpressfirst-aicache Settings to install WordPress and do it …
  10. 29-complianzgdpr-aicache UK GDPR is even tougher-Complianz GDPR &…

PICK UP posts

  1. 12-wordpressfirst-aicache How to intall and advanced AMP for WP
  2. 05-wordpressfirst-aicache Settings to install WordPress and do it …
  3. 18-resetcss-aicache What is Reset CSS – The Basics of …
  4. 29-complianzgdpr-aicache UK GDPR is even tougher-Complianz GDPR &…
  5. 14-wordpress-aicache Easily Back Up & Restore WordPress …
  6. 19-chromedev-aicache How to emulate and display a mobile devi…
  7. 26-gdpr-aicache Protect the personal information of user…
  8. 17-postandpage-aicache Differences between WordPress post pages…
  9. 02-02-csspseudoclass-aicache I have a feeling that the rental server …
  10. 15-wordpress-aicache Delete post revisions on schedule –…

Popular posts

  1. 16-onamae-aicache
  2. 25-marketing-aicache
  3. 15-wordpress-aicache
  4. 35-newthemeupdate-aicache
  5. 08-wordpress-header
  6. 01-wordpressfirst-aicache
  7. 17-postandpage-aicache
  8. 03-wordpressfirst-aicache
  9. 29-complianzgdpr-aicache
  10. 06-wordpressfirst-aicache

Latest posts

  1. 17-postandpage-aicache
  2. 02-02-csspseudoclass-aicache
  3. 25-marketing-aicache
  4. 35-newthemeupdate-aicache
  5. 05-03-aboutsxo-aicache
  6. 05-05-sxomarketing-aicache
  7. 20-marketing-aicache
  8. 29-complianzgdpr-aicache
  9. 26-gdpr-aicache
  10. 19-chromedev-aicache

Recommend posts

  1. 06-wordpressfirst-aicache
  2. 02-wordpressfirst-header
  3. 16-onamae-aicache
  4. 11-wordpressfirst-aicache
  5. 05-wordpressfirst-aicache
  6. 04-wordpressfirst-aicache
  7. 29-complianzgdpr-aicache
  8. 20-marketing-aicache
  9. 13-wordpressfirst-aicache
  10. 12-wordpressfirst-aicache
PAGE TOP