Using WordPress Post Categories

Learn what categories are, how to use categories to improve your content navigation and SEO, and how to add, edit, and delete WordPress categories …

How To Use WordPress Post Categories

WordPress post categories screen.Post categories help you keep your site’s content organized for search engines and visitors. It also makes it easier to find information about related topics on your site.

In other words, learning how to use post categories in WordPress can improve your user’s experience and search engine rankings.

In this tutorial, you will learn how to add, edit, and delete post categories in WordPress.

Using WordPress Post Categories

Step 1: Configure Your Permalinks

By default, WordPress Post URLs are not search engine-friendly.

If your site’s settings have not been configured after installation, a WordPress Post URL looks like this…

Default WordPress Post URL
Default WordPress Post URL

In the example above, instead of converting your post title into something more user and search engine friendly, WordPress simply assigns your posts an ID number (e.g. “123”).

To make the best use of post categories in WordPress, your Post URLs should first be optimized for search engines.

To do this, you will first need to modify the way WordPress displays your post URLs. You can do this by configuring your Permalink settings (WordPress Menu > Settings > Permalinks).

Permalinks allow you to display search engine-friendly URLs.

So…instead of having your post’s web address look like this:

Default WordPress Post URL
This URL is not very informative to users or SEO-friendly.

You can display the same post URL like this:

WordPress Post URL after configuring Permalink settings.
WordPress Post URL after configuring Permalink settings…definitely more informative and SEO-friendly!

If the permalink settings on your WordPress site have not been configured for optimal search engine indexing, you may not be getting the full SEO benefit of using post categories.

If you have not configured your permalinks yet, we recommend doing this first before configuring your post categories.

For a detailed step-by-step tutorial on setting up and using permalinks, go here: How To Configure WordPress Permalinks

Step 2: List Your Main Content Topics

As mentioned earlier, keeping your site’s content organized not only improves user experience by making it easier and faster for visitors to find information on your site but it also helps search engines better find and index your content, which can boost your site’s rankings in search engine results.

It’s important, therefore, to plan the broad “topics” your site will be covering with your content. These can be topics related to your niche, your products or services, business, industry, etc.

This is also part of effective website planning, which we have covered in this comprehensive tutorial series: How To Plan Your Website

Tip

To create a list of post categories, think about the broad topics users are searching for related to your niche, business, or industry and the best 1-3 words to describe these.

For example, let’s say that you would like to promote a marriage celebrant business online. After a little brainstorming and competitive research, some of the broad topics you may expect to see on an authoritative wedding celebrant’s site could include categories like:

  • Marriage Celebrant FAQs
  • Marriage Celebrant Services
  • Wedding Planning Tips
  • Wedding Locations
  • Commitment Ceremonies
  • Marriage Vows

Step 3: Choose Relevant Category Keywords

It’s extremely difficult to dominate an entire vertical market (e.g. Weddings, Travel, Health, Pets, Fashion, Beauty, Business, Technology, etc). It’s better to focus on establishing your authority online in a specific niche of your market instead.

If you look at the example below …

An example of a market, niche, and subniches
Which of the above do you think is the easiest area to establish your authority online?

In the above hierarchy (Market > Niche > Subniche), “Marriage Celebrant Course” is a subniche (i.e. a subcategory) of the “Marriage Celebrant” niche (a category), which is a subcategory of the “Weddings” market (another category).

When choosing keywords for your post categories, it’s a good idea to consider market factors like competition, keyword searches, etc.

For example, the screenshot below shows Google’s estimated number of average monthly searches and competition level for each of the keywords in our example:

Google Ads Keyword Planning Tool
Use effective keyword research to better plan post categories for your site.

Using a strategic approach to research and plan your post category keywords has many benefits. These include:

  • Better content planning.
  • Identifying new opportunities in your business or niche.
  • Improved user experience and content/site navigation.
  • Improved search engine optimization.
  • Gaining a competitive advantage.

Setting unrealistic goals like hoping to dominate highly competitive niches without doing sufficient market research, keyword planning, or having adequate resources can leave you feeling discouraged and disappointed. It’s better to focus on a narrower (but still highly searched for) area of your market, such as a low competition niche, subniche, or microniche.

Step 4: Set Up Your WordPress Post Categories

After mapping out your top-level site topics and figuring out what your main keywords will be for publishing and filing your content under, the next step is to add these to your WordPress site as post categories.

WordPress Post Categories Section
Let’s organize your WordPress content using post categories.

To add Post categories to your WordPress site, log into your administration area and in the WordPress dashboard menu, select Posts > Categories.

WordPress Menu > Posts > Categories
WordPress Menu > Posts > Categories

This opens the Categories screen.

WordPress Post Categories screen.
WordPress Post Categories screen.

Here you can add, edit, and delete categories, add descriptions and optimize post categories for SEO, and perform additional functions depending on what plugins you have installed.

How To Add Post Categories To WordPress

WordPress Post Categories screen - Add New Category
WordPress Post Categories screen – Add New Category

To create a new post category in WordPress, simply fill the fields in the ‘Add New Category’ section as shown in the example below:

WordPress Post Categories screen - Add New Category fields
Enter information in the fields shown above to create a new Post category.
  1. Name – Enter a short category name here, preferably one that uses your main keyword (e.g. if you have a “Travel” related blog, you could have categories like “Travel Tips”, “Travel Destinations”, etc.). This category name will display wherever WordPress makes category-related sections of your site available.
  2. Slug – Category post slugs display in the URL of all posts published under that specific category, provided you have configured your site’s Permalink settings to include Post categories in the URL. For example, if you have set Permalinks to display post categories and your post category’s slug is ‘travel-tips’ all posts published under this category will include the post slug and display as https://yourdomainname.com/travel-tips/your-post-title-here. Your post slug can be different than your category name. Note: Keep all words lower case and make sure they only contain letters, numbers, and hyphens (i.e. no spaces between words). If you don’t enter a slug into this field, WordPress will automatically create one for you using a lower-case version of your category name.
  3. Parent – Ignore this field, unless you plan to create nested hierarchies of categories on your site (this is explained further below).
  4. Description – Add a brief description of your category here. Some WordPress themes display this category description, and it can help with search engine optimization. WordPress uses the category description you write here for the category page’s meta description.

Click the Add New Category button to add your new category.

Your new post category will be added to the Categories list.

Post category added to Categories list.
New post category added to Categories list.

Repeat this process to continue adding new post categories to your Categories list.

Post categories.
All your post categories display in the Table of Categories.

You can also create a list of nested (i.e. hierarchical) post categories.

List of Post Categories with Parent and Child categories.
Post Categories Table with Parent and Child categories.

To create nested post categories, add a new child post category to your list, and select a parent category from the Parent drop-down menu.

WordPress Post Categories > Parent Category section with drop-down menu.
Select a Parent Category from the dropdown menu to create nested or ‘child’ post categories.

You can also add a new category when creating or editing posts.

WordPress Post Category section - Add New Category
Click ‘+ Add New Category’ to add a new post category when adding or editing posts in WordPress.

Tip

To add a new category while creating or editing a post:

  1. Click on the ‘+Add New Category’ link,
  2. Enter your new category name (and select an optional ‘parent’ category to create nested categories),
  3. Click the + Add New Category link.
WordPress Post Category section - Add a new category steps
Follow these steps to add a new post category.

Your new post category will be added to your list and become instantly available for selection.

WordPress Post Categories - New post category added.
New post category added.

If you need help creating and editing posts in WordPress, see these tutorials:

How To Delete Post Categories In WordPress

Info

Removing a category does not delete the posts assigned to that category. Instead, any posts assigned to the deleted category will be reassigned to the WordPress default ‘uncategorized’ category (covered further below).

You can delete post categories individually, or in bulk.

How To Delete An Individual Post Category

To delete an individual post category in WordPress, hover your mouse over the category you would like to delete. A menu will display containing various options. Click Delete to remove the category from your list.

WordPress Post Categories - Delete Post Category.
WordPress Post Categories – Delete Post Category.

A warning message will ask you to confirm this deletion. Click OK to proceed or Cancel to abort this operation.

Post deletion warning message.
Click ‘OK’ to delete the category from your Table of Categories.

How To Delete Multiple WordPress Post Categories (Bulk Post Category Deletion)

Let’s say that you import product data into your WordPress site and the data includes a large number of categories assigned to your products (e.g. a list of product manufacturers or an e-commerce catalog).

The bulk post categories delete feature is a handy tool for reducing the number of imported post categories to a single category (or fewer categories).

The Bulk delete feature lets you reassign your imported posts to another category. If there are too many categories to delete individually, this is where the bulk delete feature comes in handy.

Warning

Important: Make sure that any posts that could be affected by deleting unwanted categories are reassigned to an existing or a new category.

For more details on how to reassign post categories in WordPress, see this tutorial: How To Edit And Delete Posts In WordPress

To bulk delete WordPress categories, click on the main checkbox in the header row next to the ‘Name’ column title. This will select all category entries on the screen.

Next, go through the list and unselect any categories that you DO NOT want to delete. Select categories by toggling on the checkbox next to each entry.

Bulk Selecting/Unselecting Post Categories.
Bulk Selecting/Unselecting Post Categories.

After ticking all the categories you would like to delete, select Delete from the ‘Bulk Actions’ drop-down menu.

Post Categories - Bulk Actions > Delete dropdown menu.
Select ‘Delete’ from the ‘Bulk Actions’ dropdown menu to bulk delete post categories.

With the ‘Delete’ option selected in the dropdown menu, click the Apply button.

Post Categories Bulk Actions menu - Apply button
Click ‘Apply’ to delete all selected categories.

This will delete all selected post categories.

Categories deleted.
Categories deleted.

How To Edit Post Categories In WordPress

To edit a post category in WordPress:

In the ‘Categories’  screen, locate the category entry that needs editing. Hover over the category title and a menu will display. Click the Edit link.

Categories Table - Edit
Click ‘Edit’ to change category details.

This brings up the Edit Category screen. Edit the category fields and click Update to save your changes.

Post categories > Edit Category screen.
Post categories > Edit Category screen.

You can also edit your category’s name or slug using the Quick Edit option. Hover over the category title and click on Quick Edit.

Post Categories - Quick Edit link.
Post Categories – Quick Edit link.

Make the necessary changes and click the Update Category button to save your updated details.

Post Categories - Inline Quick Editor.
Post Categories – Inline Quick Editor.

Warning

Editing the category slug will change the URL of all posts assigned to that category. This can lead to “page not found” errors if visitors click on external site links pointing to your published posts. For this reason, it’s best to avoid changing post category slugs once your site is established.

WordPress Post Categories – Uncategorized Category

All posts in WordPress must be assigned to a category. If you do not assign a post to a category, WordPress will automatically assign your post to a default category called “Uncategorized”.

WordPress Post Categories - Uncategorized
By default, WordPress assigns all posts without categories to ‘Uncategorized’.

Info

The default category cannot be deleted.

Assigning posts to ‘Uncategorized’ creates unattractive post URLs that are not very effective for SEO.

Example of a post URL published as uncategorized.
Post URLs published as ‘uncategorized’ are not search optimized.

Instead of publishing unassigned posts, you can optimize the “uncategorized” category for search engines and make the post URL more relevant to your site visitors.

Hover over the Uncategorized entry and click the ‘Quick Edit’ link.

Uncategorized - Quick Edit selected.
Let’s edit this category to make your post URLs more relevant to users and search engines…

Enter relevant keywords into the Category Name and Category Slug fields and click the Update Category button to apply your changes.

For example, if your site is related to travel-related, you could change the “Uncategorized” category to a general keyword like “Travel Tips” for unassigned posts to give these an extra SEO boost.

Uncategorized post category - Quick Edit fields.
Change your Uncategorized post category to something more relevant to your content.

Now, all posts published without assigning a category will display with a URL that makes more sense to your site visitors and is more effective for SEO.

A post URL with a modified 'Uncategorized' category.
Editing the Uncategorized post category creates SEO-friendlier post URLs.

Note: Your WordPress Permalink settings (WordPress Dashboard Menu > Settings > Permalinks) affect how post URLs will display on your site.

In the example above, Permalink settings have been configured to display search-engine-friendly URLs to display posts as domain/category/post title.

For more details, see this tutorial: How To Configure Your WordPress Permalinks

WordPress Post Categories – Useful Information

Here are some other things you should know about using post categories in WordPress:

You Can Add Multiple Categories To WordPress Posts

Posts in WordPress must be published under one or more categories. WordPress allows you to assign multiple categories to your posts.

WordPress Post Category section with multiple post categories selected.
Posts can be published under multiple categories.

Depending on which SEO plugins you have installed on your site, you may be able to specify which of your selected post categories should be the primary category featured on your posts.

WordPress Post Categories section - Multiple categories selected with 'Make Primary' feature.
SEO plugins like Yoast SEO let you assign a Primary category when selecting multiple post categories.

Themes Display Categories In WordPress Posts

Most WordPress themes display a ‘categories’ section on your posts, making it easier for your site visitors to find other content published under those categories.

Example of post displaying categories section.
Most WordPress themes will display the categories you’ve assigned to your posts.

As well as displaying categories assigned to posts, you can display a list of categories on your site in a sidebar, header, or footer menu.

Categories Menu displayed on sidebar.
Add a Categories menu to your sidebar, header, or footer.

Tip

Depending on how many posts and categories you publish on your site, you could end up with a really long category list.

Categories menu listing many categories.
This categories menu list many post categories.

Widgets Display Post Categories In Sidebar Menus

If you have too many categories on your site, you can reduce the space of your Categories menu on your sidebar by listing categories using a drop-down menu (in your ‘Categories’ widget settings).

Categories menu with categories displaying in a drop-down menu.
Categories menu with categories displaying in a drop-down menu.

To learn more about adding, configuring, and using sidebar widgets in WordPress, see these tutorials:

Archive Pages Display All Posts Published Under The Same Category

To view all the posts you have assigned to a category, you can click on a category link on a post, or select the category from a sidebar menu.

Categories drop-down menu with a category selected.
Select a category…

This will open an archive page displaying a list of all posts assigned to that category.

Example of a Category Archive page.
An example of a Category Archive page.

Note: Your WordPress Theme determines the layout and design of your Archive pages, posts, sidebar menus, etc.

WordPress Post Categories – Useful Tips And Additional Features

To view Category Archive pages from your WordPress dashboard:

Go to Post > Categories and scroll down the Category Table until you find the category you would like to view.

Hover over the category title and click the View link to open the Archive Page for that category.

WordPress Post Category Menu - View link.
Click View in the WordPress Post Category table to see the Archive page for that category.

WordPress Post Categories – Sorting Categories

The Table of Categories lets you sort categories alphabetically (or in reverse alphabetical order).

To sort the table by category name, hover your mouse near the column title and click on the little black triangle icon next to the column title.

Sort Table of Categories by category name.
Sort Table of Categories by category name.

You can also sort categories using the other columns in the Category Table (e.g. Description, Slug, Count, etc.). Your categories will be sorted according to the column you’ve clicked on.

WordPress Post Categories Table - Sorting categories by columns.
Sort categories by clicking on other columns in the WordPress Post Categories Table.

WordPress Post Categories – Searching Categories

WordPress has a couple of useful category search features if your site has many categories:

Search Categories Field

In the Table of Categories, enter a keyword into the search field and click on the Search Categories button to bring up a list of all categories with that keyword in the title.

Table of Categories - Search Feature
Find a category using the Search Categories feature.

Category Pages

If your site has many categories, WordPress splits the Table of Categories into several Category Pages that you can navigate through with pagination buttons.

WordPress Table of Categories - Category Pages.
WordPress Table of Categories – Category Pages.

To specify how many categories you would like displayed per Category Page on your Table of Categories, click on the Screen Options tab at the top of your Categories screen.

Categories Screen - Screen Options tab
Click the Screen Options tab to reveal additional options for categories.

Enter the number of categories you would like to see displayed per page in the Table of Categories in the Categories > Pagination > Number of items per page: field and click Apply to update your settings. Note: you can also hide some or all of the columns (e.g. Description, Slug, Count) by ticking/unticking their checkboxes.

Screen Options Tab - Category options.
Screen Options Tab – Category options.

To learn more about using the Screen Options Tab, see this tutorial: How To Use The WordPress Screen Options Tab

WordPress Post Categories – Grouping Features

In the Table of Categories, the Count column displays the number of posts assigned to each category. To view a list of all posts assigned to that category, click on the number next to a category in the ‘Count’ column.

WordPress Categories Table - Count Column
WordPress Categories Table – Count Column

This will bring up a list of all the posts assigned to that category in your Table of Posts.

WordPress Table of Posts - Posts grouped by category.
WordPress Table of Posts – Posts grouped by category.

WordPress Post Categories – Tools

You can convert WordPress Categories into WordPress Tags using the Category to Tag Converter tool.

The link to this tool is found below your Table of Categories.

WordPress Table of Categories - Category to Tag converter link
Click on the Category to Tag converter link to convert categories to tags.

Clicking on the ‘category to tag converter’ link brings you to the Tools > Import screen.

Tools > Import screen - Categories and Tags Converter
Use the Categories and Tags Converter tool to convert categories to tags or vice versa.

To learn how to use WordPress tags effectively in your posts, see this tutorial:  How To Use WordPress Post Tags

WordPress Post Category Plugins

There are many WordPress plugins available to help you better manage and enhance the usefulness of categories on your site.

For example, there are WordPress plugins available that allow you to do things with categories like:

  • Add images and thumbnails to post categories
  • Exclude categories from displaying in certain sections of your site
  • Rearrange the order of your categories in tables, lists, and menus (i.e. create a custom list)
  • Add additional fields to your Table of Categories (e.g. Category ID – see below)
  • Restrict access to content published under certain categories (this is useful if you plan to run a membership site).
Content Protection added to Post Categories screen using a membership plugin.
Protect content in selected post categories using membership plugins.

Let’s take a quick look at some plugins that can help add additional features with useful functions to enhance your post categories:

Catch IDs

Catch IDs - WordPress Plugin
Catch IDs adds an ID column to your Table of Categories.

Catch IDs adds an ID column to your Table of Categories. This makes it easier to view the particular ID of any category on your site.

Category IDs can be useful for things like excluding post categories from menus, displaying eCommerce products, pages, or ‘Add To Cart’ buttons for selected categories, etc.

Category IDs displayed in the Table of Categories.
View Category IDs in your Table of Categories with the Catch IDs plugin.

Colorful Categories

Colorful Categories - WordPress plugin.
Colorful Categories.

Colorful Categories is another plugin you can use to enhance the way categories display on your site.

This plugin lets you assign different colors to each of your categories.

WordPress Table of Categories with Colorful Categories plugin installed.
The Colorful Categories plugin adds color selectors to your Table of Categories.

The plugin includes a widget for displaying a color-coded list of your post categories on your sidebar.

Categories widget
Display colorful category lists on your sidebar using the Categories widget.

Step 5 –  How To Use WordPress Post Categories Effectively

Here are some suggested tips to help you maximize the benefits of using post categories in your content to improve user experience and increase your site’s traffic from search engines:

Choose Keyword-Relevant Post Titles

As you plan new content for your site, try to include the main keyword of your post in your post title, preferably near the beginning. This helps to optimize the effectiveness of your posts and pages with users and search engines and can improve your sales conversions.

For example…

Let’s say you plan to write an article for an Adventure Travel company targeting the “Winter Camping” niche.

Your post could be titled “Winter Camping Tips –  7 Essential  Tools For A Safer Winter Camping Adventure.

Publish Your Posts Under Relevant Categories

Now that you have optimized your post title, the next step is to assign that post to a relevant category — preferably one that is also optimized for the niche you are targeting.

If your Permalink settings have been configured to display categories in your post URLs (making your URLs more search-engine friendly), your post URL could look like this:

Search optimized post URL.
Search optimized post URL.

Note how many keywords in the above URL target the “adventure travel winter camping” niche.

Use A WordPress SEO Plugin

An additional step you can take to maximize the SEO benefit of using post categories is to install an SEO plugin on your WordPress site that lets you configure metadata for each of your categories.

Improve SEO for Categories.
Improve SEO for Categories with a WordPress SEO plugin.

Publishing quality content targeted to your niche with optimized post titles, post URLs, and post categories will give you the best chance of improving your post visibility with your audience and search engines.

Hopefully, this tutorial has given you a better understanding of the role and importance of setting up and managing your WordPress post categories correctly. Follow these simple steps and you will keep your site organized, easier to manage, easier for your site visitors to find what they are looking for, and easier for search engines to index your content.

WordPress Post categories screen - Add New Category.
WordPress Post categories screen – Add New Category.

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

We are not affiliated, associated, sponsored, or endorsed by WordPress or its parent company Automattic. This site contains affiliate links to products. We may receive a commission for purchases made through these links.