=== Redirect Duplicate Posts ===
Contributors: badasswp
Tags: redirect, duplicate, post, seo
Requires at least: 4.0
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This plugin helps redirect users away from duplicate posts to the original post URL, thereby improving Search Engine Optimization for your website.
== Installation ==
1. Go to 'Plugins > Add New' on your WordPress admin dashboard.
2. Search for 'Redirect Duplicate Posts' plugin from the official WordPress plugin repository.
3. Click 'Install Now' and then 'Activate'.
== Description ==
Working with translation plugins can be sometimes stressful, especially if your post or article is erroneously translated into multiple copies which you never intended. This plugin helps redirect users away from duplicate posts and articles to the original post URL, thereby improving Search Engine Optimization for your WP website.
It's light-weight, and easy to use!
= ✔️ Features =
✔️ Easy to use.
✔️ Provides support for re-directing multiple posts easily & quickly.
✔️ Has custom WP filters built in.
✔️ Useful for WP websites with tons of duplicated posts.
✔️ Available in multiple langauges such as Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish & French languages.
✔️ Backward compatible, works with most WP versions.
= ✨ Getting Started =
Install & activate plugin correctly. Now visit duplicated post or article possibly ending with a suffix like -2 or -3 and so on. Observe that it redirects you to the original article without a fuss!
You can get a taste of how this works, by using the [demo](https://tastewp.com/create/NMS/8.0/6.7.0/redirect-duplicate-posts/twentytwentythree?ni=true&origin=wp) link.
= ⚡ Why Redirect Duplicate Posts =
1. This plugin is useful if you have a website with tons of duplicated posts and you don't want users to land on those links but the original link.
2. When working with translation plugins, your post or article might be erroneously translated into multiple copies which you never intended. This plugin helps redirect users away from the duplicate posts and articles to the original post URL.
= 🔌🎨 Plug and Play or Customize =
The Redirect Duplicate Posts plugin is built to work right out of the box. Simply install, activate and start using.
Want to add your personal touch? All of our documentation can be found [here](https://github.com/badasswp/redirect-duplicate-posts). You can override the plugin's behaviour with custom logic of your own using [hooks](https://github.com/badasswp/redirect-duplicate-posts?tab=readme-ov-file#hooks).
== Screenshots ==
1. Duplicated Post link - The duplicated post or article URL.
2. Original Post link - The user is now redirected to the original post URL.
== Changelog ==
= 1.0.0 =
* Redirect duplicate posts to original post.
* Custom filters `redirect_duplicate_posts_exclude_urls`, `redirect_duplicate_posts_regex_pattern`.
* Provided support for Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish & French languages.
* Unit Tests coverage.
* Tested up to WP 6.8.
== Contribute ==
If you'd like to contribute to the development of this plugin, you can find it on [GitHub](https://github.com/badasswp/redirect-duplicate-posts).
To build, clone repo and run `yarn install && yarn build`