內容簡介
總結:Bulk Trash by URL 是一款幫助編輯和 SEO 人員快速清理內容的 WordPress 外掛,可以根據 URL 列表將項目移至垃圾桶。輸入 URL、讓外掛將每個 URL 對應到一個文章 ID,選擇要刪除的項目,並以效率的批次方式進行處理。
1. 這個 WordPress 外掛的主要功能是什麼?
- 透過輸入 URL 來找出符合的文章、頁面和自訂文章類型。
- 使用 AJAX 批次快速將 URL 對應到文章,並顯示進度條。
- 在執行前精確選擇要刪除的項目。
- 以 live progress、暫停/恢復控件進行批次處理。
- 可選的完成摘要,包含數量和列表(已刪除、失敗、無權限、無效)。
2. 有哪些設置可以調整性能和限制?
- 最大頁面大小(對應批次大小)
- 每次執行的最大 URL 數量
- 切換完成摘要
3. 這個外掛的能力和安全性如何?
- 限制僅對能 manage_options 的使用者開放。
- 使用 Nonce 保護的 AJAX 端點。
- 保守的淨化和服務器端驗證。
4. 和哪些 WordPress 網站相容?
- 適用於使用美化永久連結的網站。
- 對 WordPress url_to_postid() 和常見 URL 變體依賴進行對應。
- 如果自訂文章類型使用公共、前端 URL,則支援自訂文章類型。
外掛標籤
開發者團隊
原文外掛簡介
Bulk Trash by URL helps editors and SEOs quickly clean up content by trashing items based on a list of URLs. Paste your URLs, let the plugin map each URL to a post ID (handles common variations like trailing slashes and marketing query params), select what you want to remove, and process in efficient batches with progress feedback.
Key features:
Paste URLs to find matching posts, pages, and custom post types.
Fast URL-to-post mapping in AJAX batches with progress bar.
Select exactly which items to trash before running.
Batched trashing with live progress, pause/resume controls.
Optional completion summary with counts and lists (trashed, failed, no permission, invalid).
Settings to tune performance and limits:
Max Page Size (mapping batch size)
Max URLs per run
Toggle completion summary
Optional mode to set matched items to Private instead of Trash
Built for large lists and long-running jobs. Everything goes to the WordPress Trash, so you can restore or permanently delete as you normally would.
Capabilities & security:
Restricted to users who can manage_options.
Nonce-protected AJAX endpoints.
Conservative sanitization and server-side validation.
Compatibility notes:
Works with sites using pretty permalinks. Mapping relies on WordPress url_to_postid() and common URL variants.
Custom post types are supported if they use public, front-end URLs.
