How to Properly Change, Move and Delete WordPress Categories

Do you want to change, move, or delete WordPress categories?

Categories help organize your content and make it easy for visitors to find interesting posts. However, as your website grows and you learn more about your audience, you may need to change your categories.

In this article, we will show you how you can easily change, move, and delete the categories on your WordPress website.

How to properly change, move and delete WordPress categories

Why Change, Move or Delete WordPress Categories?

Categories help sort your blog posts and make it easier for users to find what they are looking for. This will keep them on your website for longer and encourage them to convert.

However, it can be difficult to plan all your categories in advance. This is especially true if you’re just getting started with WordPress, or aren’t sure which direction to take your new blog, online store, or small business website.

You may also want to try out different categories and content, and then analyze what works the best by installing Google Analytics in WordPress. You can then use this insight to fine-tune your categories.

With that being said, at some point, you may need to change your WordPress categories. This might involve renaming a category to include the keywords that got the most clicks during A/B split testing, or fixing a spelling mistake.

You might even organize your categories and subcategories into new parent-child relationships to help visitors discover new content.

If you don’t make these changes carefully, then it could hurt the visitor experience, damage your SEO, and make it more difficult for visitors to navigate your website.

With that being said, let’s see how you can properly change, move, and delete WordPress categories. Simply use the quick links below to jump straight to the change you want to make.

How to Rename or Edit a WordPress Category

To start, you can change a category’s name, assign it to a different parent category, or display a category description to help other authors understand how to use that category.

To make any of these changes, head over to Posts » Categories.

How to change WordPress categories

Here, find the category that you want to change and hover the mouse over it.

When the ‘Edit’ link appears, give it a click.

How to edit the categories on your WordPress website

This will take you to a screen where you can rename the category, add a parent or subcategory, or write a category description. For example, if you’ve used a keyword research tool to find some new keywords or phrases, then you may want to change the category’s name to include these words.

To rename a category, simply type the new title into the ‘Name’ field.

Renaming a WordPress category

When you’re happy with the changes you’ve made, don’t forget to click on ‘Update’ to store your settings.

After that, WordPress will automatically update all the posts within this category.

Every category has an archive page in WordPress, as you can see in the following image. These pages help visitors find related content, which can increase your pageviews and reduce the bounce rate in WordPress.

The WordPress category archive page

Sometimes you may want to change where this archive page is located. For example, if you’ve renamed a category, then you might also change its archive URL to avoid confusing visitors.

However, changing the slug means that anyone who tries to visit the original URL will get a 404 error.

A 404 error page on a category archive page

This is a bad user experience and can impact your WordPress SEO. Thankfully, you can easily fix this problem by creating a redirect.

With that in mind, go ahead and change the slug by going to Posts » Categories. Then, find the category that you want to edit and hover the mouse over it.

When the ‘Edit’ button appears, give it a click.

How to move a WordPress category to a new slug

In the ‘URL’ field, you’ll see the current slug for this category’s archive page.

Simply type in the new URL that you want to use. Just be aware that you can only use lowercase letters, numbers, and hyphens in the URL.

How to edit the URL slug for a category archive page

When you’re happy with how the slug looks, scroll to the bottom of the screen and click on ‘Update’ to store your changes.

Now, you’ll see the archive page if you visit the new URL, but you’ll get an error if you type in the original link.

The easiest way to redirect from the old URL to the new link is by using AIOSEO.

AIOSEO is the best SEO plugin for WordPress and can help you get more visitors from search engines like Google. It even has a setup wizard that will help you choose the best SEO settings for your website and improve your rankings, even if you’re completely new to search engine optimization.

For this guide, we’ll be using the AIOSEO Pro version because it has the Redirection Manager that you’ll need to set up a redirect. However, there is also a free version of AIOSEO that you can use to optimize your website no matter what your budget.

First, you’ll need to install and activate the plugin. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, AIOSEO will automatically launch the setup wizard. You can simply click on ‘Let’s Get Started’ and then follow the onscreen instructions to improve your site’s search engine rankings.

Click let's get started AIOSEO setup wizard

To learn more, please see our step-by-step guide on how to set up All in One SEO for WordPress correctly.

Since we want to use the plugin’s premium features, you’ll need to enter a license key when asked. You can find this information under your account on the AIOSEO website.

Enter AIOSEO license key

After entering the license key, click on the ‘Finish Setup’ button to save your settings and close the setup wizard.

With that out of the way, head over to All in One SEO » Redirects in the WordPress dashboard. You can then go ahead and click on Activate Redirects.

Activating the AIOSEO redirect feature

Now you’ve activated the Redirection Manager, you can start by typing in the source URL. This is the category archive’s original web address, and will usually start with /category/ followed by the original category name.

Here, we’re redirecting anyone who tries to visit /category/search-engine-optimization.

Adding a source URL for your category redirect

After typing in the source URL, make sure you click on the small cog icon to see some extra settings that you can configure.

You’ll need to check the box next to ‘Regex.’

Creating a regex redirect in WordPress

Now, it’s time to move to the target URL, which is our new category archive page.

In the following image, visitors will be redirected to /category/seo.

Adding a 301 redirect to your WordPress website

Your next task is choosing the type of redirect that AIOSEO should use. There are various types of redirects that are identified with numbers such as 301, 302, and 307.

If you’re permanently moving the archive to a new location, then you’ll want to use a 301 redirect as this tells search engines that the page will always be at this new location. This way, all the old archive’s traffic and backlinks are transferred to the new page.

Simply open the ‘Redirect Type’ dropdown and choose ‘301 Moved Permanently.’

Choosing a redirect type for your WordPress website

If you’re only temporarily moving the category archive page to a new URL, then you should choose ‘307 Temporary Redirect’ instead.

When you’ve done that, go ahead and click on the ‘Add Redirect’ button.

Now, if you try to visit the original category archive page, AIOSEO will automatically redirect you to the new target URL.

How to Properly Delete a WordPress Category

Sometimes you may no longer need a particular category. For example, you may have accidentally created two very similar categories or changed the direction of your WordPress blog so you no longer cover the same content.

Before deleting a category, it’s important to think about how this will affect your WordPress website. Firstly, WordPress will remove the deleted category from all your posts. Any posts that no longer have a category, will be marked as ‘uncategorized.’

Lots of uncategorized content will make it more difficult for visitors to explore your website. With that being said, you may want to look through all the posts within the category you plan to delete, to make sure they have at least one alternate category.

You can also set up a redirect for that category’s archive page by following the same process described above. This can help you fix any broken links before they hurt your search engine rankings or the visitor experience.

When you’re ready to delete the category, simply go to Posts » Categories. You can then hover the mouse over the category and click on the ‘Delete’ link when it appears.

How to delete a WordPress category

How to Change the Default Uncategorized Category

If you don’t assign a category to a post, then WordPress will assign one automatically. By default, this is ‘uncategorized’ but you may want to change this to an alternative category.

Another option is to continue using the ‘uncategorized’ category, but give it a more descriptive and useful name.

This change is particularly important if you run a WordPress multi-author blog or accept guest contributions, as these people may forget to add a category to their posts.

Changing the default category can also improve your WordPress SEO by making sure that every post has a descriptive category.

Let’s start by renaming the uncategorized category by going to Posts » Categories.

Here, find ‘Uncategorized’ and hover your mouse over it. When the ‘Edit’ link appears, give it a click.

Renaming the default uncategorized category

You can now type a new title into the ‘Name’ field.

After that, scroll to the bottom of the screen and click on ‘Save.’

How to rename the default WordPress category

Another option is to change the default category. This can be useful if you’ve already created a general category, and now want to use it as your default.

To make this change, head over to Settings » Writing in the WordPress dashboard. You can then open the ‘Default Post Category’ dropdown and choose any category from the list.

How to delete a WordPress category

After that, don’t forget to click on ‘Save Changes’ to store your settings.

How to Add a Subcategory in WordPress

WordPress allows you to add category hierarchy, so you can add sub categories as needed.

You can do this easily by using the Parent category dropdown on the Add New Category screen.

Select a parent category in WordPress

For more details, see our step by step guide on how to add subcategories in WordPress.

How to Easily Convert Categories into Tags

Categories and tags are both important ways to organize and group your posts. However, to help visitors find their way around your site, you should use them in slightly different ways.

Categories are great for broadly grouping your posts, while tags are meant to describe the specific details of each post.

Visitors can use categories to quickly find the type of content they’re interested in, or their favorite subject. They can then use tags to pinpoint the exact post within that category.

At WPBeginner we have a Beginner’s Guide category, which is aimed at new WordPress users. Each post in the Beginner’s Guide has different tags, such as custom taxonomy, SEO, and sorting your content.

It’s easy to get categories and tags mixed up, especially if you’re just getting started with WordPress. Your website may also change over time, to the point where one of your tags would now work better as a category.

You can easily turn categories into tags, using the Categories to Tags Converter plugin. For example, you can turn a ‘Beginner’s Guide’ category into a ‘Beginner’s Guide’ tag with the click of a button. Even better, all posts that were categorized as ‘Beginner’s Guide’ will be assigned the new ‘Beginner’s Guide’ tag automatically.

This can save you a ton of time and let you test different ways of organizing your content.

First, you’ll need to install and activate the Categories to Tags Converter plugin. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, go to Tools » Import. Here, find ‘Categories and Tags Converter’ and click on its ‘Run importer’ link.

Converting a WordPress category into a WordPress tag

You’ll now see all the different categories and tags you’ve created for your website, organizied into tabs.

To convert a category into a tag, simply check the box next to it. You can then click on the ‘Convert Categories’ button.

Easily turn a category into a tag

After a few moments, you’ll see a ‘Converted successfully’ message. To turn more categories into tags, simply repeat the process described above.

To turn a tag into a category, select the ‘Tags’ tab. You can now check the box next to the tag that you want to change, and click on the ‘Convert Tags’ button.

Converting a WordPress tag into a WordPress category

We hope this article helped you learn how to properly change, move, and delete WordPress categories. You can also go through our guide on the best email marketing services and proven ways to make money online blogging with WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Properly Change, Move and Delete WordPress Categories first appeared on WPBeginner.

How to Add Categories and Tags for WordPress Pages

Do you want to set up categories and tags for your WordPress pages, but don’t know how to get started?

Categories and tags help you sort your blog posts and make it easier for users to find what they are looking for. However, they’re only available for posts by default, not for pages.

In this article, we will show you how to add categories and tags for WordPress pages.

How to add categories and tags for WordPress pages

Why Add Categories and Tags to WordPress Pages?

Categories and tags are default WordPress taxonomies for your blog posts. Categories are a broad grouping of content, while tags help describe specific details of your content. You can read more about the difference in our guide to categories vs tags.

By default, both categories and tags are only limited to blog posts in WordPress.

When you create a new page, you will notice that there is no option to add categories or tags to your WordPress page.

No categories or tags for pages

However, you may want to add categories and tags to your WordPress pages. It can help you to organize and sort your content if you have a lot of pages. It can also improve your site navigation and help your visitors to find related pages on your WordPress website more easily.

If you have multiple sales pages for different products in your online store, for example, then you can group them under broad categories.

You can do the same for different feature pages for your apps and software. For example, OptinMonster groups multiple feature pages under the ‘Features’ category.

Let’s see how you can add categories and tags to your WordPress pages.

Adding Categories and Tags to WordPress Pages

The easiest way of setting up categories and tags for your WordPress pages is by using the Pages with category and tag plugin. It’s a free WordPress plugin and works out of the box with no need for additional configuration.

The first thing you need to do is install and activate the plugin. For more details, please see our guide on how to install a WordPress plugin.

Once activated, go to Pages » Add New and you will find post categories and tags now available for your WordPress pages.

Categories and tags for pages

Next, you can create categories and tags for your pages.

To add a category, head over Pages » Categories from your WordPress dashboard and then enter a ‘Name’ and ‘Slug’ for your category.

Add name and slug for new page category

After that, you can scroll down and select a ‘Parent Category’ for your category.

Once you’ve entered these details, simply click the ‘Add New Category’ button.

Choose parent category and add new category

You can then view your newly added category for your pages.

If you want to delete a category, then simply click the checkbox next to it and select ‘Delete’ from the Bulk Action dropdown and click the ‘Apply’ button.

View your page category

Next, you can assign your WordPress pages to the categories you just created.

To start, simply edit or create a new page. From the WordPress content editor, you can now select the relevant category from the menu on your right. For instance, we created a feature page and marked it under the Features category.

Select your category and enter tags

Similarly, you can add tags for your WordPress page under the ‘Tags’ field. If you want to add multiple tags, then simply separate them using a comma.

For example, you can add keywords and phrases that help describe your content. In our case, we added the terms ‘exit intent’ and ‘OptinMonster’ as tags.

After selecting your category and adding tags, simply update or publish your WordPress page.

We hope this article helped you add post categories and tags to your WordPress pages. You may also want to look at your guide on how to create a business email address, and the best email marketing software.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add Categories and Tags for WordPress Pages first appeared on WPBeginner.

How to Properly Rename Categories in WordPress (Beginner’s Guide)

Do you need to rename some categories on your WordPress site?

As your site grows, you might need to change the name of some of your categories or merge them with other categories.

In this article, we will show you how to properly rename categories in WordPress without affecting your SEO strategies.

How to Properly Rename Categories in WordPress

Why Rename Categories in WordPress?

If you’ve recently created a WordPress website, then creating a good organizational structure will make it easier for your visitors to find your content and can help your site rank higher in search engine results pages.

That’s why WordPress offers categories and tags. You can learn how to organize your content effectively in our guide on best practices for categories and tags.

As you add more content, you may wish to improve the way you organize your posts, and you may decide to rename some of your categories.

Let’s have a look at how to properly rename categories in WordPress.

How to Properly Rename Categories in WordPress

You will find the WordPress category management area by visiting Posts » Categories. On this page, you can manage WordPress categories, edit existing categories, and delete unwanted categories.

There are two ways to rename categories. The first is to click the ‘Quick Edit’ link under the category you wish to rename.

Click the Quick Edit Link

The Quick Edit metabox will now be displayed. Here you can quickly change the name of the category.

You can also change the category’s slug, which determines the URL of the category page. For example, if the slug is ‘books’, then the category page URL will be:

https://example.com/category/books
The Quick Edit Metabox Will Now Be Displayed

Editor’s Note: You don’t have to change the slug if you’re only making a minor name change, but if you do, then you must set up a 301 redirect. We will show you how to do that later in this article.

Make sure you click the Update Category button when you’re finished.

The second way to rename a category also allows you to add a description of the category. To do this, you will need to click the ‘Edit’ link under the category you wish to rename.

Click the Edit Link Under the Category You Wish to Rename

This will take you to the category edit page. Here you can change the category name, slug and description.

Category Edit Screen

The category edit page also lets you choose a parent category. You can learn more in our guide on how to add subcategories in WordPress.

Changing the Category Prefix

WordPress also allows you to change the /category/ prefix in category URLs. This is called the category base.

To change it, go to Settings » Permalinks and scroll down to ‘Optional’. There you will see a form to change category base and tag base.

WordPress Also Allows You to Change the Category Prefix in Category URLs

The default category base is ‘category’. Here, you can change it to anything you like, such as ‘topics’.

This would change the URL from http://www.example.com/category/your-category-slug/ to http://www.example.com/topics/your-category-slug/.

Merging and Bulk Editing Categories

As your site grows, you may decide to simplify your organizational structure and merge several categories into one.

This is useful if you find that you have a few categories that are very similar. By combining them into a single category, you will make your WordPress site less complex and easier to navigate.

To learn how, check our guide on how to merge and bulk edit your categories and tags.

Merge categories, tags, or terms in custom taxonomies

Redirecting Users to the New Category URL

If you changed the category’s slug, then the URL to the category page has changed and the old URL will no longer work.

Luckily, if you added that category to your WordPress menu, then WordPress will automatically update the menu to reflect your changes.

But when users or search engines try to use the old category URL, it will no longer work. Instead, they will see a 404 Page Not Found error message.

These 404 errors create a bad user experience which can lead to a drop in search engine rankings and lower eCommerce sales.

To avoid this, you will have to set up a redirection from the old URL to the new one. Learn how to do this using our tutorial on how to track 404 pages and redirect them in WordPress.

Activate redirects in AIOSEO

It’s extremely important that you set up the 301 redirect using AIOSEO otherwise changing the category URLs could negatively impact your website search rankings.

We hope this tutorial helped you learn how to properly rename categories in WordPress. You may also want to learn how to improve your site’s SEO, or check out list of must have plugins to grow your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Properly Rename Categories in WordPress (Beginner’s Guide) first appeared on WPBeginner.

Categories vs Tags – SEO Best Practices for Sorting your Content

Readers often ask us, what’s better for SEO: categories vs tags?

You might not be sure what WordPress categories and tags actually are, and how they’re different. Knowing this can help you use them correctly.

In this article, we’ll explain the differences between categories vs tags for organizing your content, and how they can impact SEO rankings.

Using categories and tags for sorting content in WordPress

What’s the Difference Between Categories and Tags?

Categories are meant for broad grouping of your posts. Think of these as general topics or the table of contents for your WordPress site. Categories are hierarchical which means you can create sub-categories.

Tags are meant to describe specific details of your posts. Think of these as your site’s index words. They let you micro-categorize your content. Tags are not hierarchical.

For example, this blog post on WPBeginner is in our category “Beginners Guide”. You can see all the posts in this category by going to Blog » Beginners Guide in our navigation menu.

This post has the tags: categories, categories vs tags, custom taxonomy, seo, seo best practices, sorting your content, and tags.

You won’t see these tags displaying anywhere on our article. However, they do help users find this article in relevant searches on our blog.

One of the biggest differences between tags and categories is that all WordPress posts must be filed under a category, but they don’t have to have tags.

If you don’t give your post a category, WordPress will automatically assign it to the default category. This is called “Uncategorized”, but it’s often helpful to rename the “uncategorized” category to something like “Other” or “Miscellaneous”.

Note: By default, only blog posts have categories and tags in WordPress. However, you can add categories and tags to your WordPress pages using a plugin.

How can You Add Categories and Tags in WordPress?

You can add categories and tags in WordPress when creating or editing a post. You’ll find them on the right-hand side under the ‘Document’ settings.

Adding categories and tags when creating a post

You can also go to Posts » Categories and Posts » Tags to add new categories and tags.

For more about the process of adding categories and tags, check out our explanations of What is a category? and What is a tag? for help and guidance.

How Many WordPress Categories Should You Have?

There’s no specific number of categories that you should have. In most cases, you’ll want somewhere between 5 and 10 in order to properly categorize your posts and make your site easy to browse.

Categories are meant to encompass a large group of posts. You can use sub-categories and tags to split your posts into smaller groups.

If you’re just starting a blog, then don’t worry about trying to come up with a perfect list of categories. Just choose 3 – 5 broad categories and add more as time goes by.

Do I have to use sub-categories?

You don’t have to use sub-categories, and many large blogs (including WPBeginner) don’t. However, sub-categories are helpful if you have a large category with a lot of posts that could be grouped into smaller sections.

For example, you might have a “Recipes” category that contains a growing number of gluten-free recipes.

Posts in the category 'Recipes'

You can put these posts into their own sub-category, so it’s easy for readers to find them. You create a new child category for “Recipes” called “Gluten-Free” and move these posts into that category.

Using Categories in Your Posts’ URLs

Some sites use the Category name in permalinks (post URLs), which you can set up under Settings » Permalinks.

Including your posts' categories in your URLs

If that’s the case on your site, then your post will initially have a URL something like this:
/recipes/gluten-free-pancakes/

After moving the post to a child category, it’ll have a new URL:
/recipes/gluten-free/gluten-free-pancakes/

Normally, WordPress will try to redirect the old URL to the new one. It’s definitely worth checking that your links are still working. If necessary, you can create a 301 redirect from the old URL to the new one.

Another option is to keep the post in the parent category as well as assigning it to the child category, but this can have drawbacks.

Although, WPBeginner website has categories in the URL, we always recommend users to use shorter URL structure that only contains “Post name”.

This will give you maximum flexibility to reorganize content without worrying about setting up redirects.

All of our new websites use the modern Post name URL structure. WPBeginner is over 10 years old, so it has legacy URL structure and changing URL structure is not recommended for SEO which is why we have stuck with it.

Can I Assign One Post to Multiple Categories?

WordPress lets you put a post into multiple categories. This could be several parent categories, or a parent category plus a subcategory or subcategories.

Having multiple categories won’t benefit your SEO. You should only assign posts to multiple categories if it makes the most sense for your readers.

It’s possible that having your post in multiple categories could cause some SEO issues due to duplicate content.

If you do use multiple categories, then try to avoid putting one post into two or more main (parent) categories. Each post should fit within one main category.

Is There a Limit to How Many Tags a Post Can Have?

WordPress itself doesn’t have any limit on the number of tags you can have on each post. You could potentially assign 1,000 or more tags to a post!

However, we definitely don’t recommend that.

The purpose of tags is to help link related posts together. Think of them as an index section in a book. Each tag is like a keyword in the index.

Tags are helpful for users searching your site. Some plugins that display related posts use tags to help them figure out which posts’ topics are related.

We suggest that you normally stick to 10 tags maximum per post.

Categories vs Tags: What’s Better for SEO?

Are there any WordPress SEO advantages of using categories over tags or vice versa?

The short answer is No.

Categories and tags both have different purposes. You have to use categories, but you don’t have to use tags if you don’t want to. However, we recommend using both, appropriately, to help readers navigate your site.

Ultimately, you should design your site with users in mind. All search engines want to show users the content that’ll be the most useful to them.

This means that by organizing your content for best usability will also help you get better SEO rankings.

We hope that this article helped you understand categories vs tags and the SEO best practices for sorting your content. You may also like our article on how to track WordPress category and tag analytics, and our comparison of the best keyword research tools for SEO.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Categories vs Tags – SEO Best Practices for Sorting your Content appeared first on WPBeginner.