Blogging & content · Guide
How to Remove Categories in WordPress (Delete, Unassign, Hide or Remove from URLs)

Short answer
To remove a category in WordPress, go to Posts > Categories, hover over the category and click Delete, or select several and use Bulk actions > Delete. Posts that only belonged to that category move to the default category. To take a category off one post instead, untick it in the post's Categories panel and update the post.
Key takeaways
- Delete categories under Posts > Categories, one by one or in bulk.
- Posts left without a category move to the default category.
- The default category cannot be deleted until you choose another default.
- Untick a category in the post editor to remove it from one post.
- Redirect deleted category archives that had traffic or links.
What does removing a category mean?
It can mean four things: deleting the category entirely, removing it from specific posts, hiding category names on your site, or removing the word category from archive URLs.
Each needs a different method, so decide which one you want before starting. Mixing them up is how sites lose archive pages they meant to keep.
| Goal | Where | Effect |
|---|---|---|
| Delete a category | Posts > Categories | Category and its archive page disappear |
| Remove from one post | Post editor sidebar | Post leaves that category |
| Hide category labels | Theme or template | Categories still exist but are not shown |
| Remove category base from URLs | SEO plugin or permalink setting | Archive URLs change |
Posts are never deleted when you delete a category. Only the grouping is removed.
Before any clean-up, export a list of categories with their post counts, or take a screenshot of the Categories screen. It gives you a record of the old structure.
How do you delete a category?
Go to Posts > Categories, hover over the category name and click Delete, then confirm; the category and its archive page are removed immediately.
The WordPress documentation for the Posts Categories screen explains the delete and edit actions.
The Count column shows how many posts use each category. Check it before deleting.
Deleting cannot be undone from the dashboard. Take a backup first if the category structure matters.
What about WooCommerce product categories?
Product categories are managed separately under Products > Categories, and deleting one works the same way; WooCommerce moves affected products to its default product category.
Check shop menus and category filters after removing product categories, since stores often link to them in many places.
How do you delete several categories at once?
Tick the categories on the Posts > Categories screen, choose Delete from the Bulk actions menu and click Apply.
Use the search box to filter the list first when you have many categories.
Sorting by the Count column puts empty categories together, which makes them quick to select for deletion.
For large clean-ups, WP-CLI can delete terms in scripts. The wp term delete reference shows the command.
Work in small batches. That makes it easier to check the effect on posts and menus.
After each batch, open the site and click through menus and widgets that list categories, so you notice any broken navigation early.
What happens to posts in a deleted category?
Posts stay published; if a post had no other category, WordPress assigns it to the default category, and posts with other categories simply lose the deleted one.
After deleting, filter your posts by the default category to find posts that need a better home.
Child categories are not deleted. They move up to the deleted category's parent.
Menu items pointing to the deleted category are removed from menus automatically.
Widgets and blocks that list categories update on their own, but hand-written links in posts do not. Search your content for the old archive URL.
Why can't you delete Uncategorized?
Uncategorized is the default category, which WordPress protects; change the default under Settings > Writing to another category, and then the old one can be deleted.
You can also simply rename Uncategorized to something useful, such as General or News, under Posts > Categories.
A renamed default category is often the cleanest fix, because it avoids moving posts and keeps every existing link working.
Renaming keeps its ID and posts, so nothing else changes.
How do you rename a category instead?
Hover over the category, choose Quick Edit or Edit, change the name and slug, and save; all posts keep the category with its new name.
Changing the slug changes the archive URL, so add a redirect from the old one.
How do you remove a category from one post?
Open the post, expand the Categories panel in the Post tab of the sidebar, untick the category and update the post.
A post must have at least one category. If you untick all of them, WordPress assigns the default category when you save.
To remove a category from many posts, filter the Posts list by that category and edit posts in batches.
Core bulk edit can add categories but not remove one specific category from many posts. A taxonomy plugin can handle bulk removal.
If only a few posts are involved, editing them one by one is quick and lets you choose a better category for each.
How do you hide categories on your site?
To stop showing category names on posts, edit the single post template in the Site Editor and remove the Post Terms block, or switch off the category display option in a classic theme.
Hiding labels keeps categories working for organisation and archives.
This suits sites that use categories behind the scenes, for example to feed different sections of the homepage.
You can also remove a category from the navigation menu without deleting it.
To stop a category archive appearing in search results, set it to noindex in your SEO plugin instead of deleting it.
How do you remove the category base from URLs?
By default, category archive URLs include the word category; many SEO plugins offer an option to strip this base, which shortens the URLs and redirects the old ones.
You can also change the base word under Settings > Permalinks, but you cannot leave it empty in core settings.
Our guide on setting up permalinks explains the category base setting.
Test a few archive URLs afterwards, and check that pages and categories do not share the same slug.
Changing the category base on an established site changes every category URL at once, so plan redirects and check Search Console for errors in the following weeks.
Do you need redirects after deleting categories?
Yes, if the category archive had visitors, backlinks or rankings; redirect its URL to the closest useful page with a permanent redirect so visitors and search engines are sent there.
MDN explains the 301 Moved Permanently status, the usual choice for removed archives.
Our guide on using the Redirection plugin shows how to add one.
Categories that never had traffic can simply be deleted. Their archive URLs return a 404, which Google treats as normal for removed pages.
Google's documentation on HTTP status codes explains how 404s and redirects are handled.
How should you restructure categories?
List current categories with post counts, decide the new structure, move posts into the categories you keep, then delete or merge the rest and add redirects.
Aim for a handful of broad categories that match how readers browse.
Move posts before deleting anything. That way no post falls into the default category by accident during the clean-up.
Our comparison of categories vs tags helps decide what should be a category and what should be a tag.
Our guide on handling category and tag pages for SEO covers archive indexing after the clean-up.
How do you merge two categories?
Assign the posts from the category you are removing to the one you keep, then delete the empty category and redirect its archive URL.
Filter posts by the old category, select them, and use bulk edit to add the kept category.
Then delete the old category. Posts that also had the kept category simply lose the old one.
Update menus that linked to the old category so they point to the kept one, instead of relying on the redirect.
How do you add categories back later?
Create them again under Posts > Categories or from the editor's Categories panel; deleted categories cannot be restored, so posts must be reassigned manually.
Our guide on adding categories in WordPress covers both methods.
Keep a note of old category names and slugs before a big clean-up. It makes rebuilding easy if you change your mind.
If you recreate a category with the same slug, its old archive URL works again, which can save you from adding redirects.
Frequently asked questions
How do I delete a category in WordPress?
Go to Posts, then Categories, hover over the category and click Delete. Use Bulk actions to delete several at once.
Will deleting a category delete my posts?
No. Posts stay published. Posts that only had that category move to the default category, and others simply lose the deleted one.
Why can't I delete the Uncategorized category?
It is the default category. Choose another default under Settings, then Writing, and you can delete it, or simply rename Uncategorized instead.
How do I remove a category from a single post?
Open the post, untick the category in the Categories panel of the sidebar and update. A post always needs at least one category.
Should I redirect deleted category pages?
Yes, if they had traffic or backlinks. Use a 301 redirect to the closest relevant page. Unused archives can be left to return a 404.
Sources
- Posts Categories Screen WordPress.org Documentation
- wp term delete WP-CLI Command Reference
- 301 Moved Permanently MDN Web Docs
- How HTTP status codes affect Google Search Google Search Central
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


