Whether you’re an experienced WordPress user or a beginner, you’ve come across the term “Uncategorized” in the category area. You may see that the Uncategorized categories get allocated to a large number of your posts.
This occurs frequently and has bad effects on your website.
WordPress provides a default category for its posts by default. WP developed this default category to assist webmasters in organizing their content. Yet, it is unpleasant to see and should get replaced with something more brand relevant. Unfortunately, we cannot remove the default Uncategorized category. But there are ways to change it.
In the following post, we’ll understand the Uncategorized category and why it is an issue. And show you a few different ways to remove uncategorized from WordPress.
- 1 Uncategorized Category: What is it?
- 2 The Uncategorised Taxonomy: Should you avoid it?
- 3 How to remove uncategorized from WordPress?
Uncategorized Category: What is it?
When it comes to organizing content in WP, tags, and categories are two of the most used functions.
A category is a taxonomy used to classify and choose related posts. While tags are optional, WordPress requires a default category. And you cannot remove it.
In other words, tags only appear when you add them to your post. So it’s fine if your post has no tags or has an endless number of tags.
When you create a new WP installation, the WordPress core files contain a few features by default. A category called Uncategorized is one such feature for the Posts post type.
Taxonomies, or terminology used to structure or group concepts, include categories like Tags. For example, WP blogs or websites use Taxonomies to classify the posts published on the site.
Although Tags has no default taxonomy, the Category taxonomy does: Uncategorized.
When you publish a new blog post, it gets allocated to the category of Uncategorized. While this may be inconvenient for some, it serves a useful purpose and has a decent goal. It serves as a fallback for content creators who fail to classify their content.
The Uncategorised Taxonomy: Should you avoid it?
In today’s world, content marketing is a must-have component of any marketing strategy. With blogging or content posts, it plays a major role. Content generation and publishing is the process of sharing knowledge, insight, and expertise. This process is for an audience that wants to learn and show interest in similar subjects.
Seeing the word ‘Uncategorized’ in a few or all your blog entries can have a few consequences:
Improving the Quality of Your Website.
If there are posts on your website that says listed as “Uncategorized” category. It will make your website look unprofessional and irresponsible. For example, suppose most of your entries list as “Uncategorized” on your site. It leaves an impression that you don’t care much about editing your entries.
Besides, there will be a lack of logical consistency for your non-assorted content. This word frequency will fragment your content and decrease the quality of your site.
Satisfaction of Readers
Uncategorized taxonomy makes navigating your content difficult for readers. Imagine going to the library, since some books are necessary. You go through the corporate stacks and search for marketing libraries.
“Uncategorised” listed on all stacks, called “Sales,” “Marketing,” or “Finance”.
By the time you look for your perfect library, you get frustrated and don’t want to go to this library anymore. Similarly, if your visitors browse the site and do not have the same or associated content. They might not want to visit your website again.
A high-quality website should have a clear and logical content order. Do not let the default Uncategorized category damage the quality of your website. It will also affect the efficiency of your browsing.
Changing the default taxonomy to your website content category plays a vital role. It makes the most of your site and enables your readers to navigate your site without any problems.
There are other approaches to rename “Uncategorized” or establish a new default category. WordPress requires your website to always have one category. Hence we are not able to remove the default taxonomy in WordPress.
How to remove uncategorized from WordPress?
You must use something on-brand, relevant to your content, and helpful to your readers. Follow the steps below if you want to remove the Default Uncategory Category.
You can remove the uncategorized category with a few options. You might:
Option 1: Rename the Uncategorized category
Either rename the default category to a more suitable term. Or create a new default category (good for an existing, live site).
While you cannot delete the default Uncategorised category, rename it. This is a great solution to adapt before launching your website. Especially if you created your website but have not yet published content.
Visit the WordPress dashboard and browse the posts> categories to rename the category. You can find the Uncategorized category here. Holdover the name of the category, and a few menu options will appear. Click Edit.
A new screen will appear.
You can enter here the new name of a blog or website category. Like, renaming this as something such as news if you still want to create a fallback category.
Also, rename your slug to ensure your URLs get properly generated. Click Update when you finish it.
Option 2: Create a new default category.
You can also create a new default category to solve the Uncategorized category. To do this, navigate the new default category in the left-side column to Posts > Categories.
Scroll down and select Add New Category. Enter the appropriate name for your default category. It will add a new category and will appear on the right-hand side of the category display.
After that, go to Settings > Writing. Navigate to Default Post Category under Writing Settings. Select the default category from the drop-down list.
Click Save to save your new default category, once finished. Now in the future, WP will assign this as a default category if you forget to pick a category for a post.
Option 3: Redirect Old Uncategorized URL
Suppose your site was live, and you renamed the uncategorized category slug or deleted it. Then, users and search engines will see a 404 page for the old URL.
Here’s how to resolve the issue and send users to your new category URL or renamed URL.
First, install the Simple 301 Redirects plugin and activate it.
- Go to Settings » 301 Redirects.
- Enter the old uncategorized URL in the Request field.
- Enter the destination field with your new URL.
For instance, if your old uncategorized URL looked something like this:
Then, in the request area, type /category/uncategorized/.
You must type the entire new URL in the destination field. Consider the following scenario:
Don’t forget to save your changes by clicking the Save Changes button.
Now the old ‘Uncategorized’ category URL will take visitors to the new one.
Option 4: Using “Quick Edit” for Every Post
Another option is to use Quick Edit to uncheck the Uncategorized checkbox from each post one by one. But, this takes more effort if there are still hundreds of posts to go. The location of the “Quick Edit” link is below.
It will perform as expected. But, it takes a lot of time and effort.
Option 5: Deleting Rows From Tables Directly
Tools like phpMyAdmin or any other interface can run the SQL commands. But, it needs to connect to your MySQL database first.
To perform this step, you must have permission to access your database. Also, you must have some understanding of SQL execution.
Please run the SQL instructions below, assuming your table prefix is wp blog_.
delete from wp_blog_term_relationships where term_taxonomy_id = 1 and object_id in (select id from wp_blog_posts where post_type = ‘post’ and post_status = ‘publish’);
The term taxonomy id of this statement is always 1. Hence, it will break the link between your posts and Uncategorized.
Please note that the SQL statement above only targets posts with the status publish. You can change the statement to match your needs if you wish to target all postings.
Following that, reset the data for the phrase “uncategorized” to 0.
update wp_blog_term_taxonomy set count = 0 where term_taxonomy_id = 1;
The column count represents the number of articles or pages in this category. In this condition, we set it to 0. It indicates that there are currently no published posts under the category of Uncategorized.
In a matter of seconds, we may remove the tag Uncategorized from a post. But doing so will need some technical knowledge. First, you must be able to connect to MySQL and have some experience with SQL statements.
Don’t get the table names in the example codes mixed up. You must change my (i.e., wp blog_) with your WordPress table prefix. Do this to correct the table names in the statements before executing them. If you don’t, you’ll get an error like this:
Finally, let’s look at the outcome.
As you can see, the posts now have a “—” next to them. It indicates that they are not tied to any categories. Also, we have removed the category “Uncategorized” from the posts. Thus, you can now use Bulk Actions -> Edit to categorize these posts properly.
In WordPress, the category is a critical component for organizing your website’s content. And one of them by default category is “Uncategorised.” But, this category may impact website development or the navigation of your visitors. So allowing it is not a good idea.
You could use the above-discussed techniques to remove this category. And, you will never see any posts allocated to an “Uncategorized.” Rename the default category or create a new default category. You can choose what’s best for you.
If your website is still in development, redirects are a great solution. This preserves the URLs to prevent 404 errors. Use redirects when your website is live, and you’ve renamed the Uncategorized category. Two options are available:
- Use Plugins like Simple 301 Redirects.
- Or, you can set the 301 redirects manually if you don’t want to use a plugin. This process needs to add code to your server’s .htaccess file. Before editing the source code files, remember to backup your site.
This article demonstrated simple methods for editing an “Uncategorized” category in WordPress. Also, we hope this article informed you how to remove an uncategorized category.