: Wordpress 301 redirect tag to main page I have posted previously about wordpress tags and archives and whether it can lead to duplicate content problems, the overwhelming response was NO google
I have posted previously about wordpress tags and archives and whether it can lead to duplicate content problems, the overwhelming response was NO google is smart enough to realise the difference.
However when I do a search site:www.example.com I get results like this:
Example Archive - Website Name
url example.com/category/url
Loren Ipsum Dol Bla
Example Archive - Website Name
url example.com/tag/url
Loren Ipsum Dol Bla
Two identical results showing in the serps the only difference being in the url slug where the the one says category and the second says slug
Now even though I have been told the above does not count towards duplicate content, it drives me crazy and I feel it is not good for user experience
What I would Like To Do
I want to eliminate the above, I have two options:
I can remove the tags from posts, just binding them to categories
Preferably - I can do a 301 redirect from the tags to the main category
My Question
Can there be any sort of repercussion doing a 301 redirect from a tag / archive page to a main category page? Am I fine doing this, or can it potentially lead to problems down the road?
More posts by @Miguel251
3 Comments
Sorted by latest first Latest Oldest Best
If you do 301 redirect in this case, you should canonicalise the original page and the duplicate and pick one over the other. This tells Google, this is the main page and ignore the others.
<link rel="canonical" href="example.com/tag/url" />
Add that to both pages, href should be which ever page you want to be the original.
Tags in wordpress are keywords assigned to posts to help with the internal search of Wordpress. However, wordpress is smart enough to detect posts based on the actual content. So tags are technically not required.
Moreover, in addition to the problem you've described, tags in posts create additional URLs like example.com/tag/url which leeches off the overall link equity you have on your website.
If I were you, I would get rid of tags and just assign posts to relevant categories. As it is, a post made on the homepage of a blog is already included in the category and archive pages, I wouldn't complicate it further through the use of tags.
So getting rid of the tags should work fine for you. Setting up 301 would be unnecessary in this scenario.
This isn't a duplicate content problem per se. You are not being penalized, right?
What's happening is the algorithm is functioning as expected. Two different pages are ranking for some search, but because these are archives you aren't being assessed the duplicate content penalty. I'm willing to bet no one said Google wouldn't index both if it thought these were different enough, it's just that no automatic penalty would be applied.
Ideally, you wouldn't want a 301 in place here...what you want are different categories and tags so archive pages might share an article here and there but are fundamentally different things. If you still think you need to pass one to the other, use rel=canonical instead.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.