跳到内容

Kandeshop Duplicate Post Manager

v1.3

Darren Kandekore · 2025年8月30日 上架

Manage and clean up duplicate WordPress posts with ease. Delete duplicates, assign 301 redirects, and generate .htaccess rules.

正在使用
10 以下
评分
暂无
累计下载
525
最近更新
2025年8月30日
需要 WordPress 5.0+已测试到 6.8.13PHP 7.4+

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

  1. Go to Tools > Duplicate Post Manager
  2. Click Scan for Duplicates
  3. Review the table of duplicate posts
  4. For each post:
    • Check the box to delete it
    • Choose a redirect target (dropdown or custom URL)
  5. Click Delete Selected & Redirect
  6. 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums