I use WordPress for my site and I've just run into this dilemma. I have five major categories on my site and each categories have five sub-categories. Usually, the posts are published under one sub-category (i.e. the parent categories will be unchecked while the child category will be checked.)
When I visit my parent category, obviously I see all the child category posts too. Which means that I'm looking at them twice and it's a duplicate content.
Let's say I have a site that has two parent-categories
PYTHON is a sub-category of
LANGUAGES and I publish an article selecting only
PYTHON as the category.
Let's say this is my article's URL -
When I visit my sub-category's URL
mysite.net/python/ - My article with an excerpt appears (obviously!).
When I visit my parent-category url
mysite.net/languages/python/ - My article (with same excerpts) appears too.
Now my questions -
Additional info - This is my current url structure for all posts -
mydomain.net/%postname%/. I don't use
If you're adding customized Excerpts to these posts, then you can let them index. But, if the excerpts are automatic & going to be same for
sub-cat then, it's a risk of getting flagged as Duplicate Content
You can read this nicely explained Moz article here & decide by your case. If you can make category landing pages seem very unique & beneficial for users, you may let those categories indexed.
It is always considered a good seo practice to non index categories and tags. Google considers these pages as duplicate as the same title & post excerpt is used across all those indexed pages. In order to get rid of Google’s penalty, you’ll need to no-index categories and tags on your blog. If you are using wordpress you can use seo by yoast plugin and configure it not to index categories. Or alternatively you can modify your robot.txt file.