[WordPress] 外掛分享: Kandeshop Duplicate Post Manager

首頁外掛目錄 › Kandeshop Duplicate Post Manager
全新外掛
安裝啟用
尚無評分
225 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.3 上架:2025-08-29

內容簡介

總結:輕鬆管理和清理重複的WordPress文章。從簡單的介面中,批量刪除重複文章,指定 301 重定向並生成 .htaccess 規則。

問題與答案:

1. 這個外掛提供了哪些功能?
- 透過標題和 slug 檢測重複文章
- 在表格中顯示所有重複文章(附有勾選框)
- 每篇文章的重定向選項:
- 從下拉選單中選擇其他重複文章
- 手動輸入自訂重定向 URL
- 在刪除之前驗證重定向目標
- 使用 301 規則重定向已刪除的文章
- 將文章保存到垃圾桶,而非永久刪除
- 為所有重定向生成 .htaccess 規則
- 根據需要複製/貼上或匯出重定向

2. 如何使用這個外掛?
- 前往「工具」>「重複文章管理員」
- 點擊「掃描重複文章」
- 審查重複文章表格
- 對於每篇文章:
- 勾選框以刪除它
- 選擇重定向目標(下拉選單或自訂 URL)
- 點擊「刪除所選並重定向」
- 捲動以複製或匯出 .htaccess 重定向規則

3. 為何要使用這個外掛?
- 預防因為重複內容導致SEO罰則
- 在清理後控制用戶重定向
- 通過保留連結權威性來維護您網站的權威性
- 清理並更新舊的自動導入文章或遺留內容

4. 這個外掛的技術備註有哪些內容?
- 使用 WordPress 核心功能(get_posts, get_permalink, wp_trash_post)
- 與經典編輯器和區塊編輯器(古騰堡)兼容
- 不會永久刪除文章
- 使用 Nonce 進行驗證以確保安全

權威:Darren Kandekore

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Kandeshop Duplicate Post Manager」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Manage and clean up duplicate WordPress posts with ease. Delete duplicates in bulk, assign 301 redirects, and generate .htaccess rules — all from one simple interface.
Features

Detect duplicate posts by title and slug
Display all duplicates in a table (with checkboxes)
Per-post redirect options:
Choose from other duplicates in a dropdown
Enter a custom redirect URL manually
Validate redirect targets before deleting
Redirect deleted posts using 301 rules
Save posts to trash, not permanent delete
Generate .htaccess rules for all redirects
Copy/paste or export redirects as needed

How to Use

Go to Tools > Duplicate Post Manager
Click Scan for Duplicates
Review the table of duplicate posts
For each post:

Check the box to delete it
Choose a redirect target (dropdown or custom URL)

Click Delete Selected & Redirect
Scroll down to copy or export your .htaccess redirect rules

Redirect Format
The plugin generates Apache .htaccess rules like:
Redirect 301 /old-slug /new-slug
Redirect 301 /another-old /new-target

All redirects use relative paths for portability.
Only valid (non-404) redirects are saved.

Why Use It?

Prevent SEO penalties from duplicate content
Control user redirection after cleanup
Maintain your site’s authority by preserving link equity
Clean and update old auto-imported posts or legacy content

Technical Notes

Uses WordPress core functions (get_posts, get_permalink, wp_trash_post)
Compatible with Classic Editor and Block Editor (Gutenberg)
Does not delete posts permanently
Nonce-verified form for security

License
This plugin is licensed under the GPLv2 or later.
Coming Soon (Ideas)

Export .htaccess as a downloadable file
Custom post type support
Integration with Redirection plugins
Inline AJAX validation of manual URLs

Author
Darren Kandekore

延伸相關外掛

文章
Filter
Apply Filters
Mastodon