前言介紹
- 這款 WordPress 外掛「Optimize Database after Deleting Revisions」是 2011-11-22 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 100000 個安裝啟用數。
- 上一次更新是 2023-08-03,距離現在已有 639 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.8 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.0 以上。
- 有 177 人給過評分。
- 論壇上目前有 2 個提問,問題解答率 50%
外掛協作開發者
cageehv |
外掛標籤
post | delete | database | Optimize | revisions |
內容簡介
這個外掛是一個「一鍵式」WordPress資料庫清理/優化器。
主要功能
刪除文章、頁面和/或自訂文章類型的修訂版本(您可以選擇保留最近的「X」個修訂版本,並選擇刪除舊於某個日期的修訂版本)
刪除回收站的文章、頁面和留言(可選)
刪除垃圾留言(可選)
刪除未使用的標籤(可選)
刪除「過期或所有短暫」(可選)
刪除「pingbacks」和「trackbacks」(可選)
清除「OEMBED cache」(可選)
刪除「孤立文章meta項目」
優化資料庫表格(您可以選擇排除某些表格、甚至特定文章/頁面不進行優化)
創建優化記錄(可選)
優化可定時運行,可選擇每小時運行一次、每天兩次、每天一次或每週一次,在特定時間執行(可選)
在管理工具列中提供「優化DB(1點擊)」連結(可選)
在管理選單中提供「優化資料庫」圖示(可選)
適用於多站點:一鍵優化整個網絡中的所有站點
設定
您可以在 WP管理員面板 » 優化資料庫中找到設定頁面,或通過 WP管理員面板 » 優化資料庫圖示 (取決於設置)
排除特定文章/頁面的修訂版本刪除
如果您想為特定的文章/頁面保留修訂版本(不管其他設置如何),請為該文章/頁面創建一個名為「keep_revisions」的自定義欄位,並給它設置值「Y」
開始分析/優化
您可以在 WP管理員面板 » 優化資料庫中開始優化。
注意:如果您使用定時器,則優化會自動運行!
注意:您也可以點擊管理工具列中的「優化DB(1點擊)」連結(如果已啟用)
您可以單擊以下按鈕之一:
「分析(摘要):分析資料庫並提供將被清理的數量計數
「分析(詳細):分析資料庫並提供將被刪除的詳細報告
「優化(摘要):實際刪除項目並提供已刪除數量的計數
「優化(詳細):實際刪除項目並提供已刪除數量的詳細報告
多站點支援
以網絡管理員身分安裝外掛(網絡管理員 »外掛)
「網絡啟用」外掛
只能在主網站上配置和運行該外掛,但它將優化所有子網站!
從 Unix crontab執行插件
如果您無法使用WPCron,但可以編輯Unix crontab:
在您的網站根目錄中創建一個 .php 檔案,並添加以下內容:
define('RUN_OPTIMIZE_DATABASE', true);
require_once('wp-load.php');
?>
然後從您的crontab啟動 .php 檔案!
支援的語言
白俄羅斯語 [be_BY] -由Natasha翻譯- https://www.ustarcash.com/ -關鍵字UStarCash
丹麥語[da_DK]-由Alexander Leo-Hansen翻譯-http://alexanderleohansen.dk
荷蘭語[nl_NL] - 由Rolf van Gelder, CAGE Web Design翻譯- http://cagewebdev.com
英語 [en_US] - 由Rolf van Gelder, CAGE Web Design翻譯 - http://cagewebdev.com
原文外掛簡介
This plugin is a ‘One Click’ WordPress Database Cleaner / Optimizer.
Main Features
Deletes revisions of posts, pages and / or custom post types (you optionally can keep an ‘x’-amount of the most recent revisions and you can choose to delete revisions older than…)
Deletes trashed posts, pages and comments (optional)
Deletes spammed comments (optional)
Deletes unused tags (optional)
Deletes ‘expired or all transients’ (optional)
Deletes ‘pingbacks’ and ‘trackbacks’ (optional)
Clears the ‘OEMBED cache’ (optional)
Deletes ‘orphan postmeta items’
Optimizes the database tables (optionally you can exclude certain tables, or even specific posts/pages, from optimization)
Creates a log of the optimizations (optional)
Optimization can be scheduled to automatically run once hourly, twice daily, once daily or once weekly at a specific time (optional)
‘Optimize DB (1 click)’ link in the admin bar (optional)
‘Optimize Database’ Icon in the admin menu (optional)
MULTISITE compatible: optimizes all sites in the network with one click
Settings
You can find the settings page in the WP Admin Panel » Optimize Database -or- via the WP Admin Panel » Optimize Database icon (depends on settings)
Excluding specific posts/pages from deleting revisions
If you want to keep revisions for a specific post/page (no matter what the other settings are), create a custom field named ‘keep_revisions’ for that post/page and give it the value ‘Y’
Starting the Analysis / Optimization
You can start the Optimization in the WP Admin Panel » Optimize Database.
Note: if you use the Scheduler the Optimization will run automatically!
Note: you also can click the ‘Optimize DB (1 click)’ link in the admin bar (if enabled)
You can click one of the following buttons:
‘Analyze (summary): analyzes the database and gives the count of what will be cleaned
‘Analyze (detail): analyzes the database and gives a detailed report of what will be deleted
‘Optimize (summary): actually deletes the items and gives the count of what has been deleted
‘Optimize (detail): actually deletes the items and gives a detailed report of what has been deleted
Multisite Support
Install the plugin as Network Administrator (Network Admin » Plugins)
‘Network Activate’ the plugin
You only can configure and run the plugin on the main network site, but it will optimize ALL the sub-sites too!
Running the plug in from a Unix crontab
In case you cannot use WPCron, but you can edit the Unix crontab:
Create a .php file, in the root directory of your site, with:
Then, start the .php file from your crontab!
Supported languages
Belarus [be_BY] – translated by Natasha – https://www.ustarcash.com/ – keyword UStarCash
Danish [da_DK] – translated by Alexander Leo-Hansen – http://alexanderleohansen.dk
Dutch [nl_NL] – translated by Rolf van Gelder, CAGE Web Design – http://cagewebdev.com
English [en_US] – translated by Rolf van Gelder, CAGE Web Design – http://cagewebdev.com
French [fr_FR] – translated by Guillaume Blet – http://www.mycinetheque.fr
German [de_DE] – translated by Kolja Spyra
Indonesian [id_ID] – translated by ChameleonJohn.com
Italian [it_IT] – translated by Fabio Marzocca
Persian [fa_IR] – translated by Milad Mordi, http://seodaramal.ir
Portuguese [po_BR] – translated by Rede Sul Mineira de Comunicações
Russian [ru_RU] – translated by Vadim Sokhin, PluginZone – http://pluginzone.ru
Serbian [sr_RS] – translated by Ogi Djuraskovic, FirstSiteGuide – http://firstsiteguide.com
Swedish [sv_SE] – translated by P.E.
Turkish [tr_TR] – translated by Keremcan Buyuktaskin
Ukranian [uk_UA] – translated by Anna Goriacha, Coupofy – http://coupofy.com
Author
CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands – http://cagewebdev.com – http://rvg.cage.nl
Plugin URL
Optimize Database after Deleting Revisions – WordPress plugin
Download URL
Disclaimer
NO WARRANTY, USE IT AT YOUR OWN RISK!
Plugins by CAGE Web Design | Rolf van Gelder
WordPress plugins created by CAGE Web Design | Rolf van Gelder
http://cagewebdev.com/category/news-tech-art/wordpress/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Optimize Database after Deleting Revisions」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 1.2 | 1.3 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 | 2.7 | 2.8 | 2.9 | 3.0 | 3.1 | 3.2 | 3.3 | 3.4 | 3.5 | 4.0 | 4.1 | 4.3 | 4.4 | 4.5 | 4.6 | 4.9 | 5.0 | 5.1 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 2.2.1 | 2.2.2 | 2.2.3 | 2.2.4 | 2.2.5 | 2.2.6 | 2.2.7 | 2.2.8 | 2.2.9 | 2.3.1 | 2.4.1 | 2.4.2 | 2.5.1 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.8.1 | 2.8.2 | 2.8.3 | 3.1.1 | 3.1.2 | 3.1.3 | 3.1.4 | 3.2.1 | 3.3.1 | 3.4.1 | 3.4.2 | 3.4.4 | 3.4.5 | 3.4.6 | 3.4.7 | 3.4.8 | 3.4.9 | 3.5.1 | 4.0.1 | 4.0.2 | 4.0.3 | 4.1.1 | 4.1.2 | 4.1.3 | 4.1.4 | 4.1.5 | 4.1.6 | 4.1.7 | 4.1.8 | 4.1.9 | 4.2.0 | 4.2.1 | 4.2.2 | 4.2.3 | 4.3.1 | 4.3.2 | 4.4.1 | 4.4.2 | 4.4.3 | 4.5.1 | 4.5.2 | 4.6.1 | 4.6.2 | 4.6.3 | 4.7.1 | 4.7.2 | 4.7.3 | 4.7.4 | 4.8.0 | 4.8.1 | 4.8.2 | 4.8.3 | 4.8.4 | 4.8.5 | 4.8.6 | 4.8.7 | 4.8.8 | 4.9.1 | 5.0.1 | 5.0.2 | 5.0.3 | 5.0.4 | 5.0.5 | 5.0.6 | 5.0.7 | 5.0.8 | 5.0.9 | trunk | 4.1.10 | 5.0.10 |
延伸相關外掛(你可能也想知道)
PS Auto Sitemap 》PS Auto Sitemap 是一個 WordPress 外掛,自動從您的 WordPress 網站生成網站地圖頁面。, 對於初學者來說,安裝非常容易;對於專家來說,定制也非常容易。您...。
Post Type Switcher 》這個外掛在文章編輯介面中新增了一個簡單的文章型別下拉選單,讓你可以重新指派任何文章至新的文章型別。你可以在編輯文章時更換文章的型別。, 支援的型別, ...。
Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
Advanced Excerpt 》這個外掛可以改進 WordPress 原有的摘錄文章功能。, , 保留摘錄中的 HTML 標記,並可自選需要保留的標記, 按字元數或字數截斷摘錄, 只計算「真正的」文字(HT...。
Add From Server 》這個外掛提供有限的支援。請不要期望有太多新功能或修正 bug。功能可能隨時被移除。, Add From Server 外掛旨在幫助緩解不好的網站主機所造成的困擾,讓您可...。
Page and Post Clone 》這個外掛可以透過一個按鈕來複製貼文或頁面,現在您不必從零開始進行新頁面或貼文的樣式設計。, 這個外掛的主要功能包括:, , 建立一個頁面複本,保留所有內...。
WP Page Widget 》這款外掛讓小工具的選擇變得更加容易。啟用此外掛後,我們可以選擇要顯示在特定頁面/文章/自訂文章類型中的小工具。, 請注意,使用此外掛時必須啟用側邊欄主題。。
WP Total Hacks 》WP Total Hacks 可以在您的 WordPress 網站上自訂超過 20 個設置。, 此外掛已在 GitHub 上發布。, 一些功能:, 您可以選擇啟用或停用所有項目。, 需要 PHP5!...。
Revision Control 》**本外掛不提供支援。仍可使用,但請勿期待得到支援要求的回應或對「這無法運作」進行回應。**, Revision Control 是 WordPress 的一款外掛,可以讓使用者更...。
Reveal IDs 》WordPress 2.5版本發佈後,所有管理頁面的ID都被刪除了。這應該是因為普通用戶不需要它們。但對於高級WordPress用戶和開發人員來說,這些ID對某些外掛或模板...。
Bulk Delete 》Bulk Delete 是一個 WordPress 外掛,可以根據不同的條件和過濾器批次刪除文章、頁面、附件、使用者和元資料。此外掛支援以下條件和過濾器:, , 刪除文章, , ...。
WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
Themify Portfolio Post 》Themify Portfolio Posts 是一個簡單的外掛,允許您展示乾淨版面的專案資訊。簡約而精美,您可以點擊您的圖庫專案的每張圖片,選擇顯示更多細節,例如專案類...。
Essential Content Types 》Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress ...。
WP-CopyProtect [Protect your blog posts] 》保護您的博客內容避免被複製。這是一個簡單的外掛,專門用來阻止複製者。, 功能, , 禁用文字選取 - 現在那些小偷就不能輕易地複製您的內容。, 禁用右鍵點擊 -...。