Beginner's Guide for WordPress / Start your WordPress Blog in minutes

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

331 CommentsLeave a Reply

  1. I have a parent category “Jewellery”, which has a sub category “Earrings”. Many of my products are earrings, so they are listed in the Earrings Category. I have tagged them all with “earrings”. Is this OK, or should I avoid doing that? I have optimised the Earrings Category in SEO, but not sure what to do with the orphaned tags for “earrings”, “blue”, “crystal”, “sapphire”, etc.

  2. What I’m curious about is if a URL has the parent category/subcategory/post structure if the parent has no content in it, but it simply used to create a primary category is BAD for SEO? I’m setting up a bunch of tutorials but want all sub cats to be under “Documents” as the parent, then all sub cats will have the posts.

  3. I have 2 queries on SEO impact

    1. if i have one post under 2 categories , is that duplicate content?
    2. can one use many tags in one post and use the same tags on another post?

    Kind Regards

    • If you have a post under two categories, it would normally be better to look at if you can make the post fit under a single category or reorganize your categories if it is a consistent issue.

      The same tags can be used on different posts.

      Admin

  4. So if I understand it correctly I can delete any category and redirect those categories to other categories, right?

  5. Hi, what should I do, if I have too many categories that I don’t use? What should I do? Should I delete and redirect them to other categories?

    • If you are not using categories and have no plans to it would normally be best to create those redirects and remove your unused categories. If you have not added any posts to those categories then there likely isn’t any post that needs to be redirected.

      Admin

  6. HI,
    In a single post, only one category, is that right?

    Because I do use more than one category in each of my post. What would be the problem with this?

    • It is not bad in general but if you are only adding a post to categories trying to improve SEO, then it would be bad for your SEO.

      Admin

  7. But do I HAVE to use categories or can I just use pages? For example, I want to create a dessert website. If I have the button Recipes in my menu and then under that I have Basic recipes for example, can this just be a page and from there I link to different posts? or does it have to be a category from which I link to the different recipe posts?

    • You would not need the category in the short term but the more recipes you add, the harder it would be to keep all of them in your menu. By adding the posts to a category, you can add the category to your menu for WordPress to create the list of posts for you.

      Admin

  8. Hi, I noticed that each category and tag automatically gets it’s own page. Most independent SEO tools/audits tell me these pages are not optimized well because of low word count, etc. – but is this really an issue? From a user perspective, I don’t want random text cluttering up my site just to meet a word count. How do search engines take this into account? Is it fine not to include any tag/category description? Would it be bad to ask search engines not to index my tag pages? I don’t really understand these pages, as it seems like user experience and SEO are at odds on this issue…

    • Those tools normally see all pages as content pages, you shouldn’t need to worry about the category and tag pages even if the tools don’t read them properly.

      Admin

  9. Hi,

    Your articles and videos have always been of immense help.

    One question…

    You recommended 5 – 10 max categories in your expert opinion.

    Is there also a recommended limit for subcategories or as much as is necessary?

    • Glad our articles have been helpful, we would recommend limiting subcategories as well unless you are sending out a massive amount of content.

      Admin

    • It is not necessary and can sometimes be helpful for SEO should a user find the tag in a search result for your site.

      Admin

  10. Hello,

    Great Post, I have one question.

    Can I Post Same article on 2 Category.

    Thank you.

    • If you wanted to you certainly could but if that becomes common you may want to think about restructuring your categories.

      Admin

  11. I have a question. In my word press “add new post” page there is no category table. What to do?

    • You would want to check in the screen options in the top-right of the page to ensure that section was not hidden. For the block editor, you would want to ensure you are looking at the document settings

      Admin

  12. I have a question. I have seen some websites that add extra tags. These tags have nothing to do with sorting of posts rather they do keyword stuffing in multiple tags. What is your take on this. Like I have seen such posts with 30 tags and all of them were keywords not tags. Does it help in SEO?

  13. Hi, above you said that having a single post in multiple categories can lead to duplicate content, but what about tags, assigning multiple tags to a single post, doesn’t that too lead to duplicate contents? Because, tags do have a URL right? Will it effect the SEO?

    • While tags could run into that issue, it is unlikely to cause an SEO issue with how tags are handled.

      Admin

  14. No such thing as ‘Document Settings’ on the right hand of my page.
    No sign of Tags or Categories anywhere.

  15. I have almost 10 category and almost 50 sub category in my lyrics website ..but I am not using any tag..is there any issue in seo

  16. Is there anything wrong with having sub-sub-categories? I do think this helps my users find posts on my site, and it fits the hierarchy, but maybe they should be tags instead

    • If it works for how you are organizing content then it is fine unless you think of a better way to organize your content :)

      Admin

  17. I have a page on my site (not category or tag) and the topic is “France tour”, and I also have a category name “France tour”, is it correct? how can I show google that my landing page is Target and the category is different?

    • That type of markup would naturally be handled by your SEO plugin if you are using one on your site.

      Admin

  18. I maintain a web site created using WP that has no blogs/posts i.e. its web pages only. Iam concerned that search engines find the site/right page but I do not know if catagories and tags are relevant to the site. Is their any guidance on this?

    • It would depend on how much content you have but pages don’t have categories by default.

      Admin

  19. Always feel great to land on the wisdom shared by you guys! :)

    For me, I always keep ‘NoIndex’ the tags and ‘Index’ the categories; is it wise to do so?

    I feel like there would be too much of the URLs getting indexed in the search engines coming up with the duplicate/same content.

    Lastly, always the great wokr! :)

  20. I think you can describe more about index and no indexing of tags and categories. There is lot of confusion about this. Also category and tag sitemaps should be submitted to google search console or not?

  21. Pls i created a music and news blog I have about six categories no tag and for my music I use two categories which is trending categories and music categories will I have any issues with that

  22. Great article, very helpful. My only question that I have been unable to find an answer to is this: Should I noIndex Category pages?

    While I think a user that landed my category page would find value, I have read that it can hurt SEO as your category page is essentially competing with your posts under that same category.

    • You would want to reread the section ‘Is it okay to assign one post to multiple categories?’ for our opinion on category pages. Normally, there is no need to noindex category pages.

      Admin

  23. thank you for the article, i understand the difference a little better now, but i have a question.
    we have a magazine, and use wordpress, to have our site.
    we have over 800 articles in a lot off different topics and a lot off them have different tags on them,
    with means we now have over 600 different tags on our site.
    (i have taken over running the site from a former coworker) and tags where always entered when she added our new articles.
    should i remove the tags from our site or should i leave them?
    i dont want to hurt our Seo.

    • That would be a personal choice question but you may want to reduce the number of tags you have over time so more posts are under a tag.

      Admin

  24. Thank you for helping me to be a better novice site builder for my small corner of the web! Let me not forget to mention that thought this is my first “comment” here, I have watched your YouTube for years and am grateful for your wealth of knowledge. Happy 2020!

  25. Thanks for this (and the site in general).

    As someone who has worked on many websites, I’m comfortable with the categories/taxonomy, but being new to WordPress the tags are trickier to get my head around.

    I actually think the key point is in your last paragraph – tags can be across multiple categories, while sub-categories should only sit under the one category.

  26. I am starting a WP site on phones. I don’t have any posts and everything is under custom post types or static texts in a page. It’s meant to be a website rather than a blog, are categories and tags still needed? Thabks

  27. Thanks very much for this writeup. I have lots of irrelevant tags littered all over my site. Will it hurt my site if i delete them?

    • You would likely want to create redirects for the deleted tags to prevent 404 pages, other than that you can feel free to remove them.

      Admin

  28. Would you recommend renaming the tag base from “tag” in the permalinks section?

    I’ve seen another site that has changed theirs to “all-about” and I wondered whether there were any SEO reasons for doing this.

    • You would need to redirect any post using the old link but that shouldn’t have a major SEO impact either way.

      Admin

  29. Great article, and I sent a link to my client because it’s so good, but could use a lot of proofreading. A lot.

  30. This is a great article and helped me understand the categories and tags but how do they relate with image galleries if you have hundreds of images?

    • Unless the images are in multiple posts or you’re using a plugin that adds them to images, they aren’t added by default to images

      Admin

  31. Excellent article! It’s very helpful. I’ll be implementing on my blog site immediately.

    Thank you!

  32. Great explanation sir. ..I had little bit of confusion about categories & tags, but after reading your article it is clear to me. ..
    Thanks a lot

  33. I have a WP video site where members can post YouTube links to their videos. I have several categories for the video posts.

    I want to have a “featured” type of display on the home page where I, as the admin, select videos to feature, or post my own videos there, but I want this to be off-limits to users. Otherwise, I think everybody might be labeling their video as “featured.”

    Can any of this be controlled by categories or tags? Is there a way to have a category or tag that only the admin can apply?

    Any hints are appreciated.

  34. Very helpful this blog. I learned many new strategies, especially good use of categories in WordPress. You did great work by sharing it.

  35. I have a WP blog. All of my postings are falling under my Home Page. Nothing is showing up under any of the categories I have across the top. I need to know how to move those posting from Home, to the category that they need to be under.

    Please help me. I worked on it until 3 a.m. and it was frustrating. Also I need to know how to set up a “leave a reply” after each of my posts.

    • For the menu items, rather than pages in your menu you would want to ensure you placed the categories themselves in your menu and your posts are set as part of those categories.

      To allow comments you would want to ensure you’re allowing new comments under Settings>Discussion for new posts and your old posts should have a discussion settings area to enable comments

      Admin

  36. found this information quite useful. I’m starting out new with my travel blog and I found so many answers and information related to my queries on your site. keep up with the great work. !!!

  37. Thank you for sharing your expertise with us. It has been very helpful.
    As they say, knowledge is power, how true. Simple things seem to be very complicated when they are not.

    I am still struggling to get my word press blog to work.

    r. murillo

    • Glad our article could help, feel free to reach out to us should you continue to struggle with your site :)

      Admin

  38. Wow, thanks for the insight. It’s easy to understand. It helps me solving my problem with my new blog.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.