注目の記事 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.

Easily Back Up & Restore WordPress Sites - UpdraftPlus & Google Drive
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.

WP-Optimize - Lossy vs Lossless image compression – A guide to the trade-off ...
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 →


Easily Back Up & Restore WordPress Sites - UpdraftPlus & Google Drive
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. 26-gdpr-aicache

    Protect the personal information of users in the E…

  2. 11-wordpressfirst-aicache

    What is AMP that improves mobile usability?

  3. 14-wordpress-aicache

    Easily Back Up & Restore WordPress Sites R…

  4. 06-wordpressfirst-aicache

    Prevent unauthorized WordPress logins with SiteGua…

  5. 30-wpsitemap-aicache

    Generate user-friendly sitemaps in WP Sitemap Page…

  6. 03-wordpressfirst-aicache

    Settings to install WordPress and do it first R…

  7. 04-wordpressfirst-aicache

    Settings to install WordPress and do it first R…

  8. 12-wordpressfirst-aicache

    How to intall and advanced AMP for WP

  9. 09-wordpressfirst-aicache

    Work with Google services with Site Kit by Google

スポンサードリンク

Featured Posts

  1. 04-wordpressfirst-aicache Settings to install WordPress and do it …
  2. 17-postandpage-aicache Differences between WordPress post pages…
  3. 29-complianzgdpr-aicache UK GDPR is even tougher-Complianz GDPR &…
  4. 05-wordpressfirst-aicache Settings to install WordPress and do it …
  5. 11-wordpressfirst-aicache What is AMP that improves mobile usabili…
  6. 03-wordpressfirst-aicache Settings to install WordPress and do it …
  7. 05-05-sxomarketing-aicache SEO measures from -2022 to realize SXO s…
  8. 19-chromedev-aicache How to emulate and display a mobile devi…
  9. 01-wordpressfirst-aicache Settings to install WordPress and do it …
  10. 13-wordpressfirst-aicache How to set up amp for WP in detail ̵…

PICK UP posts

  1. 26-gdpr-aicache Protect the personal information of user…
  2. 07-wordpressfirst-aicache The new block editor is difficult to use…
  3. 02-wordpressfirst-header Settings to install WordPress and do it …
  4. 09-wordpressfirst-aicache Work with Google services with Site Kit …
  5. 06-wordpressfirst-aicache Prevent unauthorized WordPress logins wi…
  6. 02-02-csspseudoclass-aicache I have a feeling that the rental server …
  7. 14-wordpress-aicache Easily Back Up & Restore WordPress …
  8. 29-complianzgdpr-aicache UK GDPR is even tougher-Complianz GDPR &…
  9. 05-wordpressfirst-aicache Settings to install WordPress and do it …
  10. 15-wordpress-aicache Delete post revisions on schedule –…

Popular posts

  1. 25-marketing-aicache
  2. 16-onamae-aicache
  3. 18-resetcss-aicache
  4. 29-complianzgdpr-aicache
  5. 05-05-sxomarketing-aicache
  6. 35-newthemeupdate-aicache
  7. 19-chromedev-aicache
  8. 14-wordpress-aicache
  9. 02-wordpressfirst-header
  10. 11-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. 17-postandpage-aicache
  2. 14-wordpress-aicache
  3. 15-wordpress-aicache
  4. 13-wordpressfirst-aicache
  5. 26-gdpr-aicache
  6. 19-chromedev-aicache
  7. 16-onamae-aicache
  8. 08-wordpress-header
  9. 30-wpsitemap-aicache
  10. 09-wordpressfirst-aicache
PAGE TOP