One of the most discussed topics we see when attending WordCamps and other events is what’s better for SEO: categories vs tags? What’s the difference between categories and tags? What’s the optimal number of WordPress categories? How many is too many? Is it okay to assign one post in multiple categories? Is there a limit of tags we can assign to each post? Do tags work like meta keywords? Are there any SEO advantage of using categories over tags or vice versa? We’ve seen quite a few commentaries on this subject through out the web, but we found that they were inconsistent and incomplete. If you ever had these questions, then hopefully they will be answered once you are done reading this post, so you can make adjustments to your blog if necessary.
Before we discuss any of the questions listed above, we need to understand what is categories and tags. In the WordPress nomenclature, both categories and tags are known as taxonomies. Their sole purpose is to sort your content to improve the usability of your site. Meaning when a user comes to your site, they can easily browse through your content by topic rather than browsing chronologically which is how blogs were initially setup.
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 site. Categories are there to help identify what your blog is really about. It is to assist readers finding the right type of content on your site. Categories are hierarchical, so you can sub-categories.
Tags are meant to describe specific details of your posts. Think of these as your site’s index words. They are the micro-data that you can use to micro-categorize your content. Tags are not hierarchical.
For example if you have a personal blog where you write about your life. Your categories can be something like: Music, Food, Travel, Rambling, and Books. Now when you write a post about something that you ate, you will add it in the Food category. You can add tags like pizza, pasta, steak etc.
One of the biggest difference between tags and categories is that you MUST categorize your post. You are not required to add any tags. If you do not categorize your post, then it will be categorized under the “uncategorized” category. People often rename the uncategorized category to something like Other, ramblings etc.
Another difference is the way your category and tags permalinks (urls) look. If you are using a custom permalink (URL) structure, then your base prefix will look different. Example:
http://yoursite.com/category/food/
vs.
http://yoursite.com/tag/food/
What’s the optimal number of WordPress categories?
Up until WordPress 2.5, there was no built-in support for tags. This led to very long category lists because people were using it to define micro-details. Tags were added to improve the usability of your site. Having that said, we believe there is no specific optimal number of categories. The optimal number varies based on the complexity of your site. However, for the sake of structure and usability, it is best that you utilize sub-categories and tags.
Categories are meant to encompass a group of posts. It is always best to start with generic categories and work your way down with subcategories as your site grows. After having run multiple blogs, we have heared that blogs evolve. There is no way that you can come up with all the right categories. Chances are when starting out, you are only writing one post a day. Or maybe 3-5 posts a day. Having 30 top categories is pointless especially when some of them will only have one or two posts. You are better off with 5 generic categories that have fresh content rather than 30 top categories where the majority are not updated.
Let’s take a look at an example. Say that we are starting a social media blog in 2012. We want to share how-to tutorials, news, tools, case studies etc. We can create top categories like Twitter, Facebook, Google+, LinkedIn etc. As sub categories of each, we can have tools, how-to’s, case studies, news etc. However that is a very short-term mindset, and we will run into issues in the future. What if one of the social media network dies and a new one enters the game? You will be required to add yet another top level category and more sub-categories.
A much better way of structuring this social media blog would be to have top categories that are future-proof. You can have your categories like How-To’s, News, Case Studies, Tools, etc. But how would people know that it is about twitter? Well your categories are not suppose to do the entire job. This is where tags come in. Let’s say you wrote a how-to post about twitter, simply add the tag twitter. In your design just add a section called Popular Topics and control that manually with links to popular tags like Twitter, Facebook, Google+ etc.
When do you add Subcategories?
Let’s say that you do a case-study posts where sometimes you interviewed an expert for a specific case-study. Because there is no category called “expert interviews”, you will add that as a tag on that case-study post. If you find yourself doing a lot of interviews for case-studies and your expert interviews tag has 10+ posts in it and is consistently growing, then you should consider adding expert interviews as a sub-category of your main category “Case Studies”.
Yes, you will have to go back and edit your older posts. If your URL structure is /category/postname/, then you have make sure you are using the Redirection plugin. It automatically redirects your modified posts to their new URL, so you can keep all the search engine rankings.
Do I have to use sub-categories?
No ofcourse not. You can always leave popular tags as tags. In our example above, almost all posts will have a tag for a specific social media network like twitter, facebook, etc. But we are not creating those as categories. The only reason why you add sub-categories is to make it easy for your users to find the content. You are more than welcome to simply add the Expert Interviews tag in your site somewhere.
Remember the whole purpose of categories and tags are to make it easy for your users to browse your site.
Is it okay to assign one post to multiple categories?
You might read on other sites that assigning posts to multiple categories can hurt your SEO. Some say that you can get penalized with duplicate content because of that. We believe that statement is not entirely true. First of all, don’t get lost with SEO. Remember the purpose of sorting your content efficiently is to help users find it. By the nature of how top categories should be setup, you shouldn’t be able to classify one post into multiple top-level categories. For example, if your blog has three categories “Advertising, Marketing, and SEO”. Your posts often tend to fall into multiple categories. Perhaps you need an umbrella category for all three? Maybe they should all fall under Business? Or you can have one category called Advertising & Marketing. Then have SEO as a sub-category for those.
There is no SEO benefits to adding multiple categories. If you think it helps your users, then you are more than welcome to add one post into multiple categories. However, if you see this becoming a regular issue, then you should consider restructuring your categories. Maybe some of your categories need to be tags. Or maybe they should be subcategories of one major category. It is mainly about making the user experience better.
If you are super concerned about duplicate content penalty, then simply (noindex, follow) your category taxonomy using the WordPress SEO by Yoast plugin.
If you only want to (noindex, follow) specific categories, then you can do so by editing the category themselves. Yoast plugin has the setting to override the global settings.
Basically when you (noindex, follow) certain thing, it tells Google and other search engine bots to follow all post links in these categories, so all posts can be indexed. However do not index the main category archives to prevent duplicate content.
Short answer: WordPress allows you to add one post into as many categories as you like. Yes it is okay to assign one post into multiple categories as long as you think it helps your users. However, if you think of categories as Table of Contents for your blog where posts are chapters, then can you have one chapter in two separate sections? The answer to that question is NO.
Is there a limit of tags we can assign to each post?
Short answer to this question is NO. WordPress has NO limits on the number of tags you can assign to a specific post. You can add 1000+ tags if you like. However, the purpose of tags is to relate your posts together. Again think of tags as the index of your book. These are popular keywords that you can use to loosely relate your posts. This makes it easy for users to find your posts specially when they are using the WordPress search. It also helps if you are utilizing the tag archive for users. We say add no more than 10 tags to your posts unless you can justify it. For example: if you are running a movie review blog, you may add multiple tags: actor/actress names (this alone can be over 10). But chances are that you may review multiple movies that have Adam Sandler in it. But for other simpler scenarios, you should really limit the amount of tags you use. Otherwise, you may find yourself with over 10000+ tags with only 300 posts on the site.
Do tags work like meta keywords?
Often people mistake tags to be like meta keywords for your blogs. This is the main reason why they try to add as many tags as possible. Tags are NOT meta keywords for your blog. At least not by default. Popular plugins like WordPress SEO by Yoast allows you to use your tag values to be in the meta keywords template. But if you don’t have these plugins configured to do that, then your tags DO NOT work like meta keywords.
Categories vs Tags: What’s better for SEO?
The most asked question that we see being asked on this topic is: Are there any SEO advantage of using categories over tags or vice versa? The simple answer to this is NO. You should NOT look at this as categories or taxonomies. They are meant to work together. If you have read this post, then you should be able to understand the individual purpose of categories and tags as well as their combined purpose for your site’s usability.
Conclusion
Your site is about your users not search engine bots. The goal of every search engine is to think the way users think when valuing your content. If you make your decisions based on usability, you will almost always find yourself reaping the SEO benefits. Categories and Tags are just the two default taxonomies that comes with WordPress. Most advanced sites use custom taxonomies for sorting their content alongside with categories and tags. Think of your blog as an ever evolving book. Choose the Table of Content (categories) wisely. Make sure that they are broad topics, but be cautious to not make it too vague. Use tags to loosely relate multiple posts. If you see a certain tag is becoming popular, then consider adding it as a sub-category. However, if you have to add the tag as subcategory of multiple top-level categories, then leave it as a tag. The goal is always to make the site as user friendly as possible.
We hope that this article helps clear any and all confusion when it comes to the topic of categories vs tags. We would love to hear your thoughts on this matter. How do you sort your content? What best practices do you follow?
As far as I know, it is important that I give every category and tag not only meta tags but also a description. This can be also a longer text. I planned to do so and optimize those urls for seo too (it was suggested by a seo tool) but these descriptions are usually not visible for my readers. But I thought they would be worth reading and could be a nice introduction into that cercain category. Should I make the effort in the first place and if I do so, how can I make these descriptions visible, readable for my users?
Hey Marta,
Please see our guide on how to display category descriptions in WordPress.
Great explanation! I find this post highly useful, clearing up the confusion I have had about the categories and tags for a long time. I recommend that the net wonderers spend some time and read it with a peace of mind if they were ever to know what “categories” and “tags” really are.
Hi,
For a site that has mobile phone, automobiles, banking, technology as parent categories; review, tutorials, interviews and news are being handled by tags. But the ‘news’ is always in abundant, i mean they are in hundreds.
Should i make it (news) a separate parent category and select two parent categories for any post that is news as well as belong to any of the other parent categories or i should keep handling it through tag? and should on the basis of news tag, it can be submitted to google news?
If we move categories into subcategories, does that break links/cause a Google penalty?
Thanks
I also have this question. Please advise. Thanks!
If you don’t setup proper SEO redirects, then yes it can have a negative SEO impact for those pages.
I am in the process of creating a website and am confused whether to create categories in my menu or pages. I understand that pages are for static information such as About me, contact me etc. If I wanted to create a menu bar containing a nutrition, treatments folder etc would you suggest using pages or categories? Thanks!!
Hi Rakhee,
If you are planning on continuing to add new content into those topics, then categories are the way to go.
Thanks for the free education. I really appreciate it. I’ll put it to use in my blogs.
This is an excellent tutorial on categories, sub-categories, and tags. You have given me a better understanding on how best to structure my site. Thank you.
Thanks for the great information.
I need to create an index that links a series of posts to one master post. Basicly, a master post and follow on update posts.
Is there a way to create a Tag I can use to organize and link these that can’t be seen by users in the Tag cloud and such?
Any suggestions would be helpful.
Wow
simple and clear.Worked for me instantly.
Thank you.
When I change my tag to a subcategory, won’t the permalinks change (causing confusion). And how do I go about it. Thank You.
Is there any SEO benefit to displaying tags on a post? I’m aware of the SEO benefits concerning categories and of tagging each post, but I don’t know if it’s worth displaying a post’s tags *on the page*.
In the section “Is there a limit to tags we can assign…” Shouldn’t the sentence “Again think of tags as the index or your book.” Should be index *of* book?
Thanks, fixed it
Thanks for the informative post!
I usually face a problem, like if I post an article, with a permalink xyz.com/post-title. One link is the one i mentioned, second link is through the category I choose, 3 link is from the tag I created, 4 link is from the archives page.
So for every post, i end up creating more than 4 links.
Is it normal? Or is it duplicate content?
What is the way to make amends.
Thanks!
What are your thoughts about having your category name also be a tag name? We’ve had WordPress template(s) created and some have a news field/area. We have our posts (which are news) listed by category, i.e. Arts & Humanities, Natural Sciences, Social Sciences. If you’re department is in Arts & Humanities (i.e. art department, theatre department, etc), we would like the arts and humanities news to display on those site. The developer didn’t make news to pull from categories; they made it to pull from tags. Their answer to the issue is to make the category names to also be tag name. I don’t believe that’s a good practice but am having a hard time finding “new” articles/guides ect. that talk about it and, of course, the developers are saying what I’m finding is 2 years old and out of date.
Hi Linda,
You can have a tag with the same name as the category.
In wordpress tag section of a blog article, is it a problem if I use the same 10 tag words for 50 aritcles?
Hi Jeffery,
Yes, it could be a potentially problematic situation. Several tag archive pages on your site will have identical or similar content. This may cause duplicate content issue, which may affect your site’s SEO.
In my example, I am about to write about my travels, so I will create Travel (Category) + Name of Place (Sub) and add Tags … at least one of the tags should vary, I guess, in order to avoid duplicate content issue, is that right?
For example, if I write 10 Blogposts within one single place, then the posts will have same Categories and almost same Tags, except that one or two defining the specific content ….. 1. (Travel>Bali, Tag: Travel, Indonesia, Bali, Surfing) 2. (Travel>Bali, Tag: Travel, Indonesia, Bali, Cooking)
Am I thinking right?
Hi Efkan,
You should use tags based on the content you are writing. If you feel there is a new tag needed, then add it.
That was a very helpful post! Thank you so much. I wasn’t sure if I should create subcategories on my blog so I created them in the beginning but didn’t use them. I had planned to use the materials I use vor my crafts as subcategories
Create
-Wood
-Wool
-Paper
-…
But then I would have to click the top categories and the subcategory and then I was afraid of this counting as duplicate content. I think I understood this article of yours in that way that I can easily do so and won’t harm my SEO.
My website has too many tags and categories indexed in Google. I have decided to remove all those after reading your article.
Thank You!
Is there any plugin so a user can follow any tags? Then with the shortcode or a widget, logged-in users can see most recent posts from the tags they followed..
Cool I get the difference now
Thanks a lot! I started a blog 4months back and now I feel i m learning basics! Thanks for your help.
Hey man, this post fits exactly to what I’m looking for. I’ve been searching about tags and categories for a long time and lots of articles says a lot of interesting things, but this besides explaining the concepts also teaches how to use these concepts in a practical way.
Congratulations and thanks a lot!
Can I get some thoughts from you on this. I am launching a travel blog with multiple authors. I attempted to add custom posts and taxonomies – for whatever reason this is not going to work – so I need to do everything by category – this is my dilemma. Every story needs a story type and a location – here is an example of by category tree
Deals
Events
Tours
Locations
– United States
– Illinois
– Chicago
The question is, can I choose Events, then also choose my location – united-states/Illinois/Chicago
Thoughts?
Extremely helpful article. Many thanks.
When I merged my sites blog and its original core content into one presentation I had more than thirty categories and numerous posts were set up into a few categories each. I didn’t like it and felt it was confusing to the reader who I wanted to engage and retain so I slowly but surely removed the duplicate categorizations first. Then each of the remaining categories were examined to see if the articles fit there best or somewhere else. The end result was a sleeker and more fluid site (at least to my view) and while I still have 17 categories overall, its better than more than 30.
What I am getting at is that we tend to repeat ourselves sometimes in a category label. I am actually thinking of merging my concert reviews and event reviews into one category next but that is a when time allows sort of project since there are hundreds of posts to amend. Great article.
I’m developing a site for a new art gallery. To filter portfolios I would want to have categories like: Painting, Glass, Ceramics, etc. I also want to have the ability to filter by artist name (Jane Jones, Jim Smith, etc) Would you recommend have the name be a tag or does it make more sense to have each artist as a category. Or should the Artists be the categories with Glass (for example) being a tag? This is making my head hurt!
Very good article! I think a lot of people tend to forget they are not writing just for SEO value, but also for the reader. I like how you explained the tags vs categories. Good Job!
I have a quick question about adding names in the tags. Let’s say I want to add Oprah: Do I type Oprah Winfrey, Oprah, Winfrey, or just type Oprah Winfrey once? Do I do first name and last name comma? Or do I add all of the iterations (first name only, last name only?) Thank you! Similarly, If I want to post elderly caregiver. Do I post elderly, caregiver, and then elderly caregiver as well? Or as long as the words are there once it doesn’t matter? Thank you!
Hi Kelly,
The best way to deal with this is to think about what makes more sense and what your users will most likely search for. We believe that adding more descriptive tags allows you to use less tags and cover more proper forms of those words and phrases. You can use variations too if they also make sense.
Thanks for the great article. I’m confused about when it is smart to use noindex, follow for category and tag archive pages. I display excerpts on these pages but I worry about the duplicate content hurting SEO. It seems like letting search engines index only the one whole blog post is ideal.
Should I use noindex, follow to avoid SEO problems? Or, am I missing some reason why I should let the bots index the category and tag pages?
Thank you for the post. The very answers I was looking for.
Can i use Long Tail Keyword In Tag? Better or not?
Hello thank you for these tips.
I would like to ask about the good URL of a single post for SEO. Which one is better:
example.com/category-name/single-post-slug
or
example.com/single-post-slug
I’ve been searching for this answer and you might like to help me with this one. Originally, I used the second permalink on my website . But later on, to hit the keyword on the URL, I decided to put the category-name on the URL of a single post.
Thank you in advance.
I’ve been struggling with this topic for a while now and found this post to be very helpful. Specifically, the categories versus sub-categories area. Thank you for sharing.
Hi, thanks for your awesome posts.
My blog has a category named Smartphones subcategories as Android Phones Windows Phones & iPhone.
What i want is, my posta in iPhone or Android, also appear in my category archive “Smartphones” as when someone visits Smartphones category, they can see all posts in one place related with smartphones.
What i do is, when i publish a post in Android or iPhone or Windows Phone, i also add this to Smartphones.
Is this a good way. Or i should do something else. Or I should Use Windows Phone, iPhone & Android Phones as tags?
Any help will be appreciated
I think using both categories: main category ‘S’martphones’ along with sub subcategory Android Phones & iPhone might help. Then your posts in these categories would also appear in smartphone category.
Hi, thanks for your awesome posts.
I need a help.
My blog’s category named Smartphones has subcategories as Android Phones, Windows Phones & iPhone.
What i want is, my post in iPhone or Android, also appear in my category archive “Smartphones” as when someone visits Smartphones category, they can see all posts in one place related with smartphones.
What i do is, when i publish a post in Android, i also add this to Smartphones. When I publish a post in Windows Phone, i also add this to Smartphones.
Is this a good way. Or i should do something else. Or I should Use Windows Phone, iPhone & Android Phones as tags?
Any help will be appreciated
This is an excellent article, well done. I have a question which may help me when using tags.
My wife is looking to build a website for cooking. We understand using categories such as hors d’oeuvre, starters, main course, desert, cakes.
When considering adding a tag(s) to highlight topics within a category must the tag be unique, for example: There are many cakes that can be described as Chocolate Cake. There could be 50 pages/blogs with a type of chocolate cake being described. What are the implications of using the tag ‘chocolate cake’ or ‘chocolate’ on each page/blog within the same category or across other categories.
Hi Tony,
You can assign the same tag to as many posts as you like. You can add more tags to describe what kind of chocolate cake it is.
Hello, great article! Very helpful as I’m trying to sort out how to categorize and tag my blog.
I downloaded your Ultimate WordPress Toolkit. Are the widgets on the side, that say “I need Help With”, with all the icons, are those custom? Or are you using a special plugin you’d like to tell me about? =)
Hi Jeremy,
Yes, those are custom widgets. You can learn more about our site’s design in our announcement post WPBeginner v5 – New site design and what’s next?
Awesome! Thank you so much for the link!
Should tag be short or long?
Please advice if the following implementation is correct.
For e.g
Category : Yoga
Sub Category : Yoga classes
Tag : Yoga Classes in Newyork
Depends on what works best for your site. You can use phrases to combine different keywords for better SEO visibility.
İt was helpfull, thank you mate
very useful..thanks a ot
Wow amazed to have such a brilliant information on this website. I am beginner right now and i guess now i have to do bookmark this page because in future this website gonna help me a lot. Explained very well and to the point. I am working on my own website this days and will soon i will take my website to the next level. If anybody can help me to teach me ow seo work then this would be a great help for me and i will be thank full of that person.
Hey Rohit, please take a look at our Ultimate WordPress SEO guide for beginners.
Great article!
Reading your article has made it obvious that I have royally stuffed up my ‘book’
Any advice on the correct way to start again with categories & tags on an established blog with a couple of hundred posts?
Btw i only use post title rather than category/title in each posts URL does that help me or work against me when making the above changes?
Regards
Nate
2016 and I can tell you that from my experience using ANY tags or categories in blog posts causes significant issues with Google and duplicate content. It took me forever to figure out what was wrong with my 10 year old website that was not ranking well. It was because I was getting penalized from Google for duplicate content, duplicate tags etc. Once I removed them, guess what? I am back in business. Wish I knew this two years ago!
Great article. Thanks for the essential 2016 update Mike.
You answered my question. Very well written article. Thank you.
I also decided to remove my tags from google index. Just looking through your site, the simple and clean design and awesome content now I understand why you rank well for google.
thank you so much for posting this article , and describing in details
Thanks a ton..was useful
Great article, thank you. You made it perfectly clear and easy to understand!
Hi,
My permalink structure is – example.com/product-category/categoryname.
Is this better compared to example.com/categoryname from SEO perspective? If yes, then how do I get rid of ‘product-category’ from the urls?
Thanks
I’m very grateful on this topic, I finally understand how posts are in general. I didn’t know this quite long that all i need is about clarification on categories as like table of contents. I was so much confused how post are organised for visitors. THANKS SO MUCH.
We are glad you found it helpful. Don’t forget to join us on Twitter for more WordPress tips and tutorials.
Thank you for clearly explaining the difference between categories and tags!
Hi Pierre, glad you found it helpful
Don’t forget to join us on Twitter for more WordPress tips and tutorials.
I have a quick question. Does it add value to the readers to show the categories below posts? Or is it best to be hidden?
Hi Emeline,
It depends on how users interact with your website. You can test it out and see if it helps your users find more content and increases your page views.
Best information..i have one question if my blog is about technology and my titel is top 10 best solor pannels then what is my categories and tags.?