{"id":115366,"date":"2013-05-16T16:26:48","date_gmt":"2013-05-16T20:26:48","guid":{"rendered":"http:\/\/wpmu.org\/?p=115366"},"modified":"2013-07-24T20:19:26","modified_gmt":"2013-07-25T00:19:26","slug":"merge-wordpress-tags","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/merge-wordpress-tags\/","title":{"rendered":"Merge WordPress Tags Easily and Quickly for a Leaner, Better Site"},"content":{"rendered":"<p>In a way, tags in WordPress are like categories. They are meant to group similar topics together in a way that makes them easily accessible (i.e. by clicking on a tag link and seeing all the posts marked with that descriptor).<\/p>\n<p>The problem a lot of people run into is that they end up assigning too many tags to their posts. This defeats the purpose of tags. If you only end up with one or two posts with that tag, it hardly deserves its own \u201ccategory.\u201d<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-115368\" title=\"tags-700px\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/tags-700px.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"699\" height=\"420\" \/><\/div>\n<\/div>\n<p>As mentioned, tags are somewhat like categories &#8212; but just a little more specific. For example, here at WPMU, we obviously don\u2019t think the term \u201ctags\u201d is big enough or important enough for its own category. However, I am going to tag this post \u201ctags\u201d because it seems like an important enough\/big enough topic that other posts will also touch on it some significant way.<\/p>\n<p>I\u2019m NOT, however, going to tag this post \u201cmerge tags.\u201d That topic isn\u2019t large enough to have a significant number of other posts that talk about that.<\/p>\n<p>To be honest, I might have done that in the past, but we\u2019ve come to realize it\u2019s not really that valuable. And so we\u2019re actually in the middle of cleaning up our \u201ctag problem\u201d by deleting many and merging the rest.<\/p>\n<p>If you\u2019ve got a tag problem too, read on.<\/p>\n\n<h2><strong>How to Merge Your Tags<\/strong><\/h2>\n<p>In order to help you merge your tags, I\u2019m going recommend you use a plugin called <a href=\"http:\/\/wordpress.org\/extend\/plugins\/term-management-tools\/\" target=\"_blank\">Term Management Tools<\/a>.<\/p>\n<p>Once that\u2019s installed, you\u2019ll need to hop on over to your tag screen (Posts &gt; Tags).<\/p>\n<h3><strong>Get Rid of Unused Tags<\/strong><\/h3>\n<p>Probably the very first thing you should do before you start merging is to start deleting. You may find a number of tags will be hard to merge with others. You might also find that somehow you\u2019ve ended up with tags that aren\u2019t assigned to any post at all.<\/p>\n<p>On your tag page, if you click on the \u201cPosts\u201d link on the right, it will arrange your tags by the number of times they\u2019re assigned to a post. I\u2019d start by checking the box for all the ones that say \u201c0\u201d and then using the pull-down menu at the top and deleting them.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115369\" title=\"delete-tags-700px\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/delete-tags-700px-700x419.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"419\" \/><\/div>\n<\/div>\n<h3><strong>Get Rid of \u201cDifficult\u201d Tags<\/strong><\/h3>\n<p>You can then start looking down through your other tags and seeing if there are any you know you can delete right away \u2013 i.e. tags that not many posts use and that will be difficult to merge with others. Again, the best candidates here will be the ones that are assigned to only a few posts.<\/p>\n<p>As before, check the box next to the name of the tag, and then use the pull-down menu at the top.<\/p>\n<p>If you have a large number of tags, you may want to increase the number you can see on one screen by pulling down the Screen Options panel at the top and bumping that number up.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115370\" title=\"increase-items-700px\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/increase-items-700px-700x431.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"431\" \/><\/div>\n<\/div>\n\n<h3><strong>Merge Remaining Tags<\/strong><\/h3>\n<p>Assuming you\u2019ve got the Term Management Tools plugin active, you can now get to merging your tags.<\/p>\n<p>Go through your remaining list and check all those that should be merged together into one term.<\/p>\n<p>In my example, I am checking the tag \u201cblue\u201d and the tag \u201cblue things.\u201d From the pull-down menu at the top, I choose \u201cMerge.\u201d<\/p>\n<p>When I choose \u201cMerge,\u201d another box appears just to the right of the pull-down menu. I simply write the name of the tag both of those tags will be merged into. In my case, I\u2019m writing in the name \u201cblue.\u201d But you don\u2019t have to write the name of an existing tag here. You can write the name of a completely new tag.<\/p>\n<p>Click \u201cApply,\u201d and your tags will be merged.<\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-ratio-large wp-image-115371\" title=\"merge-700px\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2013\/05\/merge-700px-700x300.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"700\" height=\"300\" \/><\/div>\n<\/div>\n<p>If you have a lot of tags, this process may take a while, but it will be worth it in the end. It will be better for your users, and you can give up the tag addiction that so many of us are afflicted with.<\/p>\n<p>(Note: Once the job is done, you can delete this plugin from your site. No use keeping unused plugins around.)<\/p>\n\n<p>Photo:\u00a0<a href=\"http:\/\/www.bigstockphoto.com\/image-3849135\/stock-photo-red-tag\" target=\"_blank\">Red Tag<\/a>\u00a0from BigStock<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you have a tagging addiction? Learn how to leave it behind and tame your tags.<\/p>\n","protected":false},"author":84404,"featured_media":115367,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4,263],"tags":[45],"tutorials_categories":[],"class_list":["post-115366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","category-tutorials","tag-tags"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/115366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/84404"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=115366"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/115366\/revisions"}],"predecessor-version":[{"id":216416,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/115366\/revisions\/216416"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/115367"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=115366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=115366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=115366"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=115366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}