Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Should my canonical tags point to the category page or the filter result page?
-
Hi Moz,
I'm working on an ecommerce site with categories, filter options, and sort options – teacherexpress.scholastic.com.
Should I have canonical tags from all filter and sort options point to the category page like gap.com and llbean.com? or have all sort options point to the filtered page URL like kohls.com?
I was under the impression that to use a canonical tag, the pages have to have the same content, meaning that Gap and L.L. Bean would be using canonical tags incorrectly. Using a filter changes the content, whereas using a sort option just changes the order.
What would be the best way to deal with duplicate content for this site?
Thanks for reading!
-
Hi Daniel,
You've gotten some good responses to your question. Do you have any additional questions or comments you would like to add?
-
I agree, that's a great approach. I think you mean Javascript, not Java though (that's a different language). The only thing that might make this approach a challenge would be if you had so much product data before filtering that it caused a performance problem, i.e. let's say you had 50 pages of results...if you filter server-side, you're only sending down 1 page of results, whereas if you're filtering with client-side Javascript, you've got to send all 50 pages down and then filter it in the browser.
-
Hi Daniel,
Another option may be use java on your filter page so that however customers filter the product, the URL will remain the same with extra parameters in the URL to filter out the products. I find this the best way as you have the same URL for all sort of customization/filter and able to avoid duplicate content.
For example: Macys
-
Hi Daniel,
You're going to have to walk a fine line between having a page for every possible combination of filtered results that a user might search for AND appearing to have a ton of pages that are really almost identical....and suffering the wrath of Panda upon seeing what it thinks is duplicate content.
The easy way out is to have 1 page for each category, and no matter what filters are applied, rel=canonical to that category. Dupe content problem solved.
So why isn't this the ideal solution?
#1 You may be missing out on targeting combinations of categories and filters that users will commonly search for. Let's say you were selling clothing, and a category was shirts, and you had a filter for men/women/boys/girls. By making all shirts list pages rel=canonical to the overall shirts list page (with no filters), you'd be missing an opportunity to target "boys shirts".
#2 You may be missing opportunities to pour more link juice to the individual product pages. It's unclear (to me, anyway) whether Google adds the link juice from all pages rel=canonical'ed to a page, or whether Google simply treats rel=canonical as "oh ya, I've already seen & dealt with this page". Certainly in my testing I've seen places where pages rel=canonical'ed to another page actually still show up in the search results, so I'd say rel=canonical isn't as solid as a 301.
So what do you do? I'd recommend a mix. Figure out what combinations you think you can get search traffic from, and find a way to break down the complete set of combinations of filters and categories to target those, and to rel=canonical every page to one of your targeted pages.
It's entirely possible (likely, even) that you'll end up with a mix. For instance, going back to my earlier example, let's say you had another filter that was, let's say, price range. You might want to target "boys shirts", but not "boys shirts under $20". So, while "boys" was a filter value, and "under $20" was a filter value, you might rel=canonical all pages in the category "boys" with a filter value of "shirts" to your page that has just that category and that 1 filter set, regardless of setting of the price filter.
Clear as monkey poop?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
My website is not configured in AMP pages, but it is mobile-friendly.
Hi
Algorithm Updates | | rayabahadur
My website is not configured in AMP pages, but it is mobile-friendly.
Last month, my website was ranked to 10 positions for this keyword (Magento Development Company).
Sometimes it's showing on 25 positions but not in the top 5 positions. Here is my URL (for analysis):
https://www.nevinainfotech.com/magento-development-service/
Would you please explain why my keyword rankings are often not showing in the search listings?
Would you mind letting me know is there anything I need to change?
Thank0 -
How to do effective keyword research with categories and subcategories?
Hi all, I'm trying to breakdown some SEO 101 tips and start from scratch. Starting with Keywords! I would like to audit our site for main keywords, grouping them in categories and subcategories. My questions are: 1. Is it possible to see where we rank on google AND search trends of visits to our site?
Algorithm Updates | | Eric_S
2. What is a good method or structure to document (excel?)
3. What analysis can be made from finding the results of these keywords and how can I make use of this? As a beginner your help is much appreciated!!2 -
More pages or less pages for best SEO practices?
Hi all, I would like to know the community's opinion on this. A website with more pages or less pages will rank better? Websites with more pages have an advantage of more landing pages for targeted keywords. Less pages will have advantage of holding up page rank with limited pages which might impact in better ranking of pages. I know this is highly dependent. I mean to get answers for an ideal website. Thanks,
Algorithm Updates | | vtmoz1 -
US domain pages showing up in Google UK SERP
Hi, Our website which was predominantly for UK market was setup with a .com extension and only two years ago other domains were added - US (.us) , IE (.ie), EU (.eu) & AU (.com.au) Last year in July, we noticed that few .us domain urls were showing up in UK SERPs and we realized the sitemap for .us site was incorrectly referring to UK (.com) so we corrected that and the .us domain urls stopped appearing in the SERP. Not sure if this actually fixed the issue or was such coincidental. However in last couple of weeks more than 3 .us domain urls are showing for each brand search made on Google UK and sometimes it replaces the .com results all together. I have double checked the PA for US pages, they are far below the UK ones. Has anyone noticed similar behaviour &/or could anyone please help me troubleshoot this issue? Thanks in advance, R
Algorithm Updates | | RaksG0 -
How to content marketing: Should my blog posts link to my sales page?
Hi, I've been doing a weekly blog making sure that each blog post contains my money keywords in the text, sometimes in h2 tags etc. My blog posts never contain any links to my actual sales page. Should I link each blog post to my sale page or is it overdoing it? Will internal linking of all my blog posts to my sales page will improve its page authority or have any SEO benefits? What about using exact match anchor text on these internal links? I couldn't find any resource online about this matter. Thank you for your opinion and help! -Marc
Algorithm Updates | | marcandre0 -
Why has my homepage been replaced in Google by my Facebook page?
Hi. I was wondering if others have had this happen to them. Lately, I've noticed that on a couple of my sites the homepage no longer appears in the Google SERP. Instead, a Facebook page I've created appears in the position the homepage used to get. My subpages still get listed in Google--just not the homepage. Obviously, I'd prefer that both the homepage and Facebook page appear. Any thoughts on what's going on? Thanks for your help!
Algorithm Updates | | TuxedoCat0 -
Keyword density and meta tags
Hi, I've just checked the number of keywords appearing on my website's pages. On some of them the keyword density was way too high (7-10%) if you included the meta tags, but all under 3.5% if I didn't include the keywords and description meta tags. So my question is - when looking at number of keywords used per page, do I have to worry about what's in those meta tags? Do the keywords in there count towards keyword density / number of keywords per page? Thanks, Luke
Algorithm Updates | | McTaggart0 -
Stop google indexing CDN pages
Just when I thought I'd seen it all, google hits me with another nasty surprise! I have a CDN to deliver images, js and css to visitors around the world. I have no links to static HTML pages on the site, as far as I can tell, but someone else may have - perhaps a scraper site? Google has decided the static pages they were able to access through the CDN have more value than my real pages, and they seem to be slowly replacing my pages in the index with the static pages. Anyone got an idea on how to stop that? Obviously, I have no access to the static area, because it is in the CDN, so there is no way I know of that I can have a robots file there. It could be that I have to trash the CDN and change it to only allow the image directory, and maybe set up a separate CDN subdomain for content that only contains the JS and CSS? Have you seen this problem and beat it? (Of course the next thing is Roger might look at google results and start crawling them too, LOL) P.S. The reason I am not asking this question in the google forums is that others have asked this question many times and nobody at google has bothered to answer, over the past 5 months, and nobody who did try, gave an answer that was remotely useful. So I'm not really hopeful of anyone here having a solution either, but I expect this is my best bet because you guys are always willing to try.
Algorithm Updates | | loopyal0