Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk9 min

How to Add, Edit, and Delete Categories in WordPress Without Losing Posts

A practical guide to adding WordPress categories from the dashboard or post editor, editing names and slugs, setting the default category, and deleting categories without deleting posts.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use Posts > Categories to create and manage WordPress categories, or add one from the Categories panel while editing a post. To delete a category safely, first confirm the site’s Default Post Category under Settings > Writing. Deleting a category does not delete its posts; WordPress moves affected posts to the default category.

This guide covers the exact dashboard paths, editor controls, hierarchy and slug rules, renaming, bulk deletion, and what happens to posts at every stage.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What WordPress categories do

Categories are a built-in taxonomy for grouping posts by broad subject. They can appear in navigation, category archive pages, widgets, menus, and the URLs or labels generated by a theme. A category is separate from the post itself: removing the category changes how a post is classified, not whether the post exists.

WordPress categories can be hierarchical. A parent category can contain child categories, allowing structures such as Technology followed by Mobile and Networking. A post can have more than one category, but WordPress requires every post to have at least one category assignment. If you do not choose a category, WordPress uses the site’s default post category.

Every category has a name readers see and a slug used as a URL-friendly identifier. Both category names and slugs must be unique on the site. A name can be changed later, but changing a slug may alter the category archive address used by visitors or links, so treat the slug as a deliberate structural choice.

How to add a category from the WordPress dashboard

The dashboard form is the complete method for creating a category because it exposes the name, slug, parent, and description fields in one place.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Sign in to the WordPress administrator dashboard.
  2. Open Posts > Categories.
  3. In the Add New Category form, enter a unique category name.
  4. Optionally enter a slug. Use a short, readable, URL-friendly identifier rather than a sentence or a string of punctuation.
  5. Use the Parent Category selector if this should be a child of an existing category. Leave it at the top-level option for a standalone category.
  6. Enter an optional description. Whether visitors see that description depends on the active theme and how category archives are configured.
  7. Click Add New Category.

The new category appears in the category list and becomes available in the post editor. If WordPress rejects the form, check for a duplicate name or slug and choose a unique value.

Choosing a parent category

Use a parent when the new topic is a narrower branch of an existing one. For example, create Reviews as a parent and Phone Reviews as its child. The hierarchy is reflected in the category selector and can be used by themes to display nested archives. Do not create a parent merely because two subjects are published near each other; use one when readers would naturally regard one topic as a subdivision of the other.

Writing a useful slug

A slug should be stable, concise, and recognizable in a URL. Keep the slug distinct from every other category slug, including categories whose names look different but whose normalized URL form would collide. If a category name contains several words, a simple lower-case, hyphen-separated slug is usually easiest to read. Decide whether the slug should remain permanent before publishing links to its archive.

How to add a category while writing a post

You do not have to leave the editor when a category is needed for the post in progress. This route is optimized for a task-specific category, while the dashboard route is better for planning and maintaining the entire taxonomy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open a post in the WordPress editor.
  2. Open the settings sidebar if it is hidden.
  3. In the sidebar, locate the Categories panel.
  4. Check an existing category to assign it, or click Add New Category.
  5. Type the new category name.
  6. Choose an optional parent category.
  7. Click the add button shown in the category panel.
  8. Confirm that the new category is checked for the post if you want it assigned immediately.

The editor’s quick form focuses on the category name and optional parent. If you need to set a specific slug or write a description, create or edit the category under Posts > Categories instead.

Dashboard creation or editor creation: which should you use?

Consideration Posts > Categories Categories panel in the editor
Best use Central taxonomy planning and maintenance A category needed for the post currently being written
Where it starts Dashboard navigation: Posts > Categories Post editor settings sidebar: Categories
Metadata available Name, slug, parent, and optional description Name and optional parent in the quick-add flow
Assignment to the current post Create first, then select it in the editor Can be selected as part of the same editing task
Taxonomy maintenance Shows the category list with edit and delete controls Primarily an assignment and quick-creation control

Both methods create a normal WordPress category. The difference is the amount of metadata and whether you are working from the site-wide category list or from one post.

How to edit or rename a category

Editing changes the category record; it does not create a second category or remove the posts assigned to it.

  1. Go to Posts > Categories.
  2. Find the category in the list and hover over its row.
  3. Choose Quick Edit for an inline change, or choose Edit to open the full form.
  4. Change the name, slug, parent, or description as needed.
  5. Save the update using the control shown by the form.

Quick Edit

Quick Edit is useful for a small name or slug correction without opening the complete category screen. Review the resulting value for uniqueness before saving.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Full Edit

Edit opens the complete category form. Use it when you need to change the parent relationship or description as well as the visible name or slug. Moving a category under a different parent changes its place in the hierarchy; it does not delete the category.

Set the default category before deleting one

WordPress needs a fallback category because every post must retain at least one category assignment. The fallback also determines where posts go when their current category is deleted.

  1. Open Settings > Writing.
  2. Find Default Post Category.
  3. Select the category that should receive posts with no other category and posts affected by a category deletion.
  4. Save the writing settings.

The default category itself cannot be deleted. If you no longer want its current name, rename it under Posts > Categories, or select a different category as the default first. Only after another category is selected can the former default be deleted.

Why this check matters

Deleting a category is not a reversible way to “hide” a topic. WordPress immediately needs a valid category for affected posts. Choosing the fallback first gives those posts a predictable destination and prevents an attempted deletion of the category that is currently configured as default.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to delete one category without deleting posts

Deleting a category removes the classification, not the content. WordPress.org describes the result this way: “Deleting a category does not delete the posts in that Category, but the posts that were assigned to the deleted Category are assigned to the Default Category.”

  1. Confirm the intended fallback under Settings > Writing > Default Post Category.
  2. Go to Posts > Categories.
  3. Hover over the category you want to remove.
  4. Click Delete.
  5. Confirm the action if WordPress presents a confirmation prompt.

The category disappears from the category list. Posts remain published, drafted, scheduled, or otherwise unchanged as posts, but WordPress assigns the affected posts to the site’s default post category.

What deletion does not do

  • It does not delete post content.
  • It does not remove featured images, comments, or other post data.
  • It does not delete the default category; WordPress blocks deletion of the category currently selected as default.

Because the category archive is removed, links pointing specifically to that archive may no longer lead to the former category page. If the archive address is important to your site, consider renaming or editing the category instead of deleting it.

How to delete several categories in bulk

The category list supports bulk deletion when multiple taxonomy terms are being retired.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open Posts > Categories.
  2. Select the checkbox beside each category to remove.
  3. Open the Bulk Actions menu.
  4. Choose Delete.
  5. Click Apply.

Set and verify the default category before applying a bulk deletion. Every post affected by a selected category follows WordPress’s default-category rule. The default category itself cannot be included as a deletable term while it remains selected in Settings > Writing.

What happens to posts when a category is deleted?

Posts are preserved. The category assignment is what changes: posts assigned to the deleted category are assigned to the site’s default post category. This is why deleting a category is fundamentally different from deleting posts from Posts > All Posts.

If the deleted category was the only category a post had, the default category supplies the required assignment. If your editorial structure uses multiple categories, review important posts after the deletion so their classifications still match your intended navigation and archive organization.

Finding affected posts before deletion

WordPress’s category screen is the place to confirm the term you are removing, but it is also sensible to inspect posts that rely on it before deleting. Open relevant posts and note whether the category is the sole assignment or one of several. This lets you decide whether deletion, renaming, or moving the term under a new parent is the least disruptive option.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Assigning categories to posts after you create them

Open a post and use the Categories panel in the settings sidebar. Check one or more existing categories. Since posts may have multiple categories, you can use a broad subject category together with a more specific child or topical category, provided that combination reflects your site’s information architecture.

WordPress requires at least one category assignment. If you uncheck every category, the editor or WordPress’s publishing process will retain or apply a category so the post is not left without one. To control which category is applied automatically, change Default Post Category under Settings > Writing.

Bulk editing posts: what it can and cannot do

The Posts screen provides bulk editing for selected posts and can add categories to those posts. However, the WordPress Posts documentation states that bulk editing cannot change or delete category assignments for the selected posts. Do not use the bulk editor as a substitute for removing a category from every post.

If you are retiring a category, delete the category from Posts > Categories and let WordPress apply the default-category rule, or open individual posts and adjust their category selections in the editor when you need more precise classification.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Common problems and fixes

“I cannot delete this category.”

Check whether it is the category selected as Default Post Category. Go to Settings > Writing, choose another category, save, and return to Posts > Categories.

“WordPress says the name or slug already exists.”

Category names and slugs must be unique. Search the category list for a similarly named term, then choose a distinct name or edit the existing category rather than creating a duplicate. If the visible names differ but the URL forms match, use a different slug.

“My new category is not under the right parent.”

Edit the category under Posts > Categories, choose the correct value in the parent selector, and save. A parent can be changed after creation; the category and its posts remain intact.

“The category is missing from my post.”

Open the post editor’s settings sidebar and expand the Categories panel. If the term was just created elsewhere, refresh the editor before checking it. Confirm that you are editing the intended post and that the category was saved successfully in the dashboard list.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

“Deleting the category removed my posts from its archive.”

The posts were not deleted; the archive for that category was removed and the affected posts were assigned to the default category. Find the posts through the Posts screen or the new default-category archive. If the old archive address must remain, restore the category if available through your site’s backup process or use a rename strategy for future taxonomy changes rather than deleting the term.

A safe category-management workflow

  1. Sketch the broad subjects your site actually publishes before adding many terms.
  2. Use parent and child categories only when the relationship is meaningful to readers.
  3. Choose unique, stable names and slugs.
  4. Create site-wide terms under Posts > Categories; use the editor quick-add control for a category needed during one post.
  5. Set a deliberate Default Post Category under Settings > Writing.
  6. Before deleting, identify posts that depend on the category and decide whether renaming or re-parenting would preserve a better archive structure.
  7. Delete one term from its row or use Bulk Actions > Delete for several terms.
  8. Review key posts and category navigation after a taxonomy change.

Following this order keeps category changes separate from post deletion, gives WordPress a valid fallback, and makes the resulting archive structure predictable for both editors and readers.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.