How to Merge Categories in WordPress

Sometimes when working with WordPress you will have the need to merge two or more categories. Perhaps you have imported posts from another blog or have decided that you’d like to remove a category from your blog and place its posts under a different category.

While your first instinct may be to look for a plugin that merges categories, you might be surprised to learn that it can easily be done through the WordPress dashboard. Here’s a quick step-by-step guide for merging categories without using a plugin.

Step 1: Select all posts in the category you want to eliminate.

In the dashboard navigate to Posts >> All Posts. Filter the posts to show only the category that you want to eliminate, then select all.

If you have hundreds of posts that you need to merge, you may also need to change how many you can view at once on the page. You can do this by pulling down the “Screen Options” panel and changing the number of posts to show.

Step 2: With all posts checked, select “Edit” and click “Apply”.

You will now be presented with a bulk edit screen where you can select the new category to be applied to the posts. You also have some more specific options in there if you want to leaves some of the posts out or only re-categorize a few and then put the others in a different category.

Step 3: Eliminate the category you no longer need.

Once you’ve successfully added the new category to all of the posts, you can then eliminate the original category that you no longer want to use. Navigate to Posts >> Categories. Hover over the category you want to remove and then click the red delete button. I know it feels like you might be deleting posts, but if you’ve already moved them to other categories then you have nothing to worry about.

Congratulations – you’ve successfully merged categories without using a plugin! The only other thing I might note is that if you are concerned about SEO and have categories in your permalinks, then you may want to set up some redirects for the posts that have been moved. You should be able to do this automatically using a plugin like Redirect, but this is entirely optional.

Featured Plugin - WordPress Appointments Plugin

Take, set and manage appointments and client bookings without having to leave WordPress. Appointments+ makes it easy.
Find out more

Featured Plugin - WordPress Google Maps Plugin

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

Featured Plugin - WordPress Ecommerce Shopping Cart Plugin

Out of all the WordPress ecommerce plugins available, MarketPress has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Featured Plugin - WordPress Q&A Site Plugin

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Featured Plugin - WordPress Infinite SEO Plugin

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - WordPress Facebook Plugin

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - WordPress Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - WordPress Newsletter Plugin

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Featured Plugin - WordPress Membership Site Plugin

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Comments (5)

  1. Thanks for this short tutorial. Very useful!

    My only remaining question is, what if I have multiple categories assigned to posts. I import more posts from another blog that has one or more identical categories. WordPress renames the new, duplicate category by adding a, “-2″. So now I have category, and category-2.

    If I follow the directions, I can delete category-2 and assign category to the new posts, but all the other categories assigned to the posts are not the same. So I’m thinking that a bulk edit in this case won’t work.

    For example 2 posts have cats and cats-2 as a their category (after I imported the new post with the duplicate category of “cats”) and I need to merge the cats-2 with the cats category, but one post also has “animals” and the other has “kittens” as a category.

    If I try to edit both posts’ categories, won’t I be forced to assign the same categories to both posts now, even though one should only have cats and animals as its categories and the other should have cats and kittens as its categories?

    Thanks much if you can make any sense of my category blather!

Participate