WP Manifestindependent plugin directory
manifest / seo / 301-redirect-plugin-wordpress

WP Singular Post Redirect

Here’s a WordPress plugin to handle 301 redirects for duplicate posts and revisions. The plugin will redirect users to the most relevant post based on title, tags, or related content. It ensures the frontend presents singular posts for better SEO and user experience.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/kimjac/301-redirect-plugin-wordpress/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Here’s a WordPress plugin to handle 301 redirects for duplicate posts and revisions. The plugin will redirect users to the most relevant post based on title, tags, or related content. It ensures the frontend presents singular posts for better SEO and user experience.

Key Features of the Plugin:

  1. 301 Redirects:

    • Checks for duplicate posts by title.
    • Redirects to the most relevant published post.
    • Falls back to tag-based related posts if no exact title match is found.
  2. Prevention of Duplicate Posts:

    • Prevents publishing duplicate posts by setting their status to "draft."
  3. SEO Optimization:

    • Ensures only one version of a post is accessible to users and search engines.

Installation Instructions:

  1. Copy the code into a file named wp-singular-post-redirect.php.
  2. Upload the file to the /wp-content/plugins/ directory.
  3. Activate the plugin from the WordPress admin panel.

Let me know if you need further enhancements or explanations!