
Kandeshop Duplicate Post Manager — WordPress Duplicate Content Cleanup with 301 Redirect Management
A WordPress plugin published on the official WordPress.org directory that solves a real and common problem: sites accumulating duplicate content through imports, migrations, and editorial accidents — and the SEO damage that follows if it goes unmanaged.

The Problem
Duplicate content is one of those WordPress problems that tends to build up quietly. A bulk import brings in posts with near-identical titles. A CMS migration carries over content that was already duplicated in the old system. An eCommerce store has categories created twice with different slugs. A media library grows over years until it's full of the same image uploaded multiple times under different filenames.
Left alone, this creates real SEO damage — search engines struggle to determine which version of a page is canonical, diluting the authority that should be concentrated on a single URL. And when duplicate pages are deleted without proper redirects in place, the result is 404s that break inbound links and waste crawl budget.
Managing this manually — identifying duplicates, deciding what to keep, setting up redirects, updating .htaccess — is tedious, error-prone, and something most site owners simply don't do.
What the Plugin Does
Kandeshop Duplicate Post Manager gives WordPress administrators a single interface to find, review, and cleanly resolve duplicate content across every content type on the site. From Tools > Duplicate Post Manager, choose a content type — posts, pages, any custom post type, categories, or the media library — and run a scan. Duplicates are detected by title and slug for posts/pages, and by filename and file size for media.
The results appear in a table with checkboxes. For each duplicate, the admin can select it for deletion and assign a redirect target — either choosing from the other duplicates in a dropdown, or entering a manual URL. The plugin validates redirect targets before saving them, so only working URLs make it into the redirect rules. Posts and pages are moved to trash rather than permanently deleted, preserving the ability to recover if something goes wrong.
301 Redirect Management — Including .htaccess
This is where the plugin goes beyond a simple duplicate finder. Rather than just deleting content and leaving broken links behind, it generates proper Apache Redirect 301 rules for every deleted page and manages them end to end.
A dedicated .htaccess Manager screen shows all stored redirect rules in a read-only preview, then offers a one-click option to write them directly into the live .htaccess file. Rules use relative paths for portability, and only validated redirects are included — no rules pointing to 404s.
Before writing to .htaccess, the .htaccess Backups screen lets administrators take a one-click backup of the current file, saved to /uploads/htaccess-backups/, with a matching one-click restore. It's the kind of safety net that turns a potentially risky operation into a routine one.
CSV Export for Audit Trails
Every scan generates a CSV export of detected duplicates, saved to /wp-content/uploads/ and downloadable directly from the admin screen. For larger sites or agencies managing content on behalf of clients, this provides an audit trail — a record of what was found, what was cleaned up, and when — before any deletions take place.
Scope of Coverage
The plugin handles duplicate detection across every major WordPress content type:
- Posts and Pages — by title and slug, with full redirect management
- Custom Post Types — automatically detected and listed in the content type dropdown, including WooCommerce products
- Categories — duplicate taxonomy terms detected by name and slug
- Media Library — duplicates identified by filename and file size, with bulk delete (permanent, with appropriate warning)
Published on WordPress.org
The plugin is free, GPL-licensed, and listed on the official WordPress.org plugin directory — available to install directly from any WordPress dashboard, with automatic updates delivered as new versions are released.
Who It's For
The practical use cases are broad: sites that have been through bulk imports or CMS migrations; eCommerce or directory sites where duplicate titles and categories are common; media-heavy sites that have accumulated years of duplicate uploads; and agencies doing site audits or pre-launch cleanup on behalf of clients. Any WordPress site that has been running for long enough to accumulate content drift will benefit from a tool that can surface and resolve duplicate content without requiring manual database queries or server access.
Project Links
Categories
Let's Work Together
Ready to Build Something Remarkable?
Whether you need a bespoke website, a full digital marketing strategy, or a technical partner who understands business — I'm here.
