How to Merge Similar Taxonomy Terms in WordPress
If you are running a WordPress site for a long time, it's easy to end up with a lot of taxonomy terms. And many of your terms will have overlapping or duplicate meanings.
For example, a website may have terms for “Blue”, “Aquamarine”, “Navy Blue”, and “Turquoise”. All of these words have very similar meanings.
In this guide, I'll show you how to use the TaxoPress plugin to merge terms together and remove duplicate or similar entries.
This image below shows a website with four similar terms. Each terms is assigned to a variety of posts:
- Blue: 6 posts.
- Aquamarine: 3 posts
- Navy Blue: 3 posts
- Turquoise: 3 posts
When you merge these posts together, you may assume that the merged term will be assigned to 15 posts (6 + 3 + 3 + 3). However, this won't be correct if more than one of these terms is assigned to the same the post. In this next image, both “Aquamarine” and “Blue” are assigned to the same post.
To merge your terms together, follow these steps:
- Go to TaxoPress > Manage Terms.
- Click the “Merge terms” tab.
- Enter the terms you want to merge into the “Term(s) to merge” box.
- Enter the new term into the “New term name” box.
- Click the “Merge” button.
You'll now see a message like the one below. TaxoPress is telling you that 26 posts have been updated.
When you check on your terms, you'll that they have been successfully merged. In this example, the newly merged term is now attached to 17 posts because some terms had been attached to multiple posts.