Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track AI Overviews in Keyword Research
      Moz Pro

      Track AI Overviews in Keyword Research

      Try it free!
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Access 20 years of data with flexible pricing
      Moz API

      Access 20 years of data with flexible pricing

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. How to properly link to products from category pages?

    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.

    How to properly link to products from category pages?

    Intermediate & Advanced SEO
    5
    16
    2972
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • BeytzNet
      BeytzNet last edited by

      Hi All,

      We have an e-commerce website and the category pages are built so that there is a product image and below it there is the title. Both the image and the title are in a href (each on its own).

      I encountered the following unfinished discussion here at MOZ:
      http://www.seomoz.org/q/how-to-optimize-achor-text-links-on-ecommerce-category-page#post-93758

      The discussion states that its improper.

      The question is - if it is wrong then why? (maybe because Google will give its weight to the image anchor instead of the text anchor since it is higher in the page).

      The other question is how to resolve the matter?
      Should I add nofollow to the image href?

      Thanks

      1 Reply Last reply Reply Quote 0
      • BeytzNet
        BeytzNet @Everett last edited by

        Dear Everett,

        Can you supply the link to the article?

        Thanks

        1 Reply Last reply Reply Quote 0
        • Everett
          Everett last edited by

          Also see this page for more information on using named anchor links (i.e. page.html#image) to avoid the "first link counts" issue. This is what Alan Mosley is recommending. I think it is much safer than using CSS to try and "trick" search engines. You can put the image on product pages in a named anchor like #image.

          Resources:

          http://www.seomoz.org/blog/results-of-google-experimentation-only-the-first-anchor-text-counts

          http://www.seomoz.org/ugc/3-ways-to-avoid-the-first-link-counts-rule

          http://www.seomoz.org/blog/the-first-link-counts-rule-and-the-hash-sign

          BeytzNet 1 Reply Last reply Reply Quote 0
          • X-com
            X-com Subscriber @BeytzNet last edited by

            No problem, glad I could help!

            1 Reply Last reply Reply Quote 1
            • BeytzNet
              BeytzNet @BeytzNet last edited by

              Works amazing!!!!!

              Thanks a lot for all of your help.

              1 Reply Last reply Reply Quote 1
              • X-com
                X-com Subscriber @BeytzNet last edited by

                I would do something like this: http://jsfiddle.net/D7vMG/3/ (do you see the z-indexes? it makes sure the anchor is higher positioned then the paragraph.)

                You can of course use only the <a>-tag and not a heading. In that case you can put the position: absolute on the a-tag.</a>

                <a>Hope it helps! Good luck!</a>

                1 Reply Last reply Reply Quote 1
                • BeytzNet
                  BeytzNet @BeytzNet last edited by

                  THANKS!!! I've been working on it since your first reply 🙂

                  Last question (I'm a bit rude now) -

                  I also have price beneath "The New Ipad" anchor. Currently it is not in the href and I'm thinking of keeping it this way (which would mean it will be in the H3 but not in the href).

                  Also, the href's are simple href's not surrounded by h3's, What do you think? Changing them? (keeping the price outside the href but inside the H3)

                  It seems correct but changing would mean of a lot of anchors will be changed on the entire website... scarry

                  1 Reply Last reply Reply Quote 1
                  • X-com
                    X-com Subscriber @BeytzNet last edited by

                    Yeah of course, you can style the link any way you want. Even hide it 😉 although I wouldn't recommend that hehe.

                    I made this jsfiddle for you: http://jsfiddle.net/D7vMG/1/

                    good luck trying it yourself!

                    1 Reply Last reply Reply Quote 1
                    • X-com
                      X-com Subscriber @BeytzNet last edited by

                      It is pretty much as if the anchor flows over the entire image.

                      I did this a while back on a dutch telecom website called typhone dot nl. Check it out, it's on the frontpage (the offer blocks all have it)

                      The H3 is just there as an example. If I just got an H1 above all products, i use h2's, if there is a h2, i use h3's. and so on.

                      1 Reply Last reply Reply Quote 1
                      • TakeshiYoung
                        TakeshiYoung @BeytzNet last edited by

                        That's what the css code above does, it puts the link beneath the image visually when users look at the site, while keeping the link above the image in the actual code.

                        1 Reply Last reply Reply Quote 0
                        • AlanMosley
                          AlanMosley @BeytzNet last edited by

                          I should not of said 2 pages, but it has been shown that both links will give link text relevancy.

                          The javascript link will be followed, it will not help

                          1 Reply Last reply Reply Quote 1
                          • BeytzNet
                            BeytzNet @X-com last edited by

                            Is there a way to do so and having the link appearing beneath the image?

                            I don't want to change the design

                            TakeshiYoung X-com BeytzNet 6 Replies Last reply Reply Quote 0
                            • BeytzNet
                              BeytzNet @AlanMosley last edited by

                              Dear Alan,

                              If Google will see it as two pages I'm guessing I will need to add a canonical to the # version. Is that the case?

                              What about having the image with a javascript link? (location.href) or is that suspicious?

                              AlanMosley 1 Reply Last reply Reply Quote 0
                              • AlanMosley
                                AlanMosley last edited by

                                Dont use no-follow, you will just leak link juice.

                                One way around this, is to use a anchor # in your url for the image. like page.html#someterm

                                This will in fact give you link text relevancy for both, google will see this as 2 different pages.

                                Make sure you have alt text for the image.

                                This tataic and well as what x-com may in the future be seen as over optimization, so it may be tter to do somthing like this

                                Your link text

                                You can just link the whole lot in the one link.

                                Or move your text to above the image.

                                BeytzNet 1 Reply Last reply Reply Quote 1
                                • BeytzNet
                                  BeytzNet @X-com last edited by

                                  Thank you for the answer.

                                  I'm not too strong with css besides for the basics,

                                  what you mean is that the anchor will be displayed beneath the image for the user even though the code is placed before the image and also that clicking on the image will actually be like clicking on the anchor since its size includes the image???

                                  Brilliant, it will also give more "engagement credit" to the anchor instead of splitting it (actually ppl usually clicking on the image).

                                  By the way, do you put all of your products on the page as H3?

                                  Thanks

                                  X-com 1 Reply Last reply Reply Quote 0
                                  • X-com
                                    X-com Subscriber last edited by

                                    Hi Noamflint, we develop a lot of e-commerce websites and I want to fill you in how we tackled this problem several months ago and how.

                                    We deleted the anchor of the image! In our code it looks something like:

                                    The New iPad

                                    As you see at the moment there is no anchor on the image, but our clients do want this. because of usabilty. and people just love clicking images.

                                    We solved this with CSS:

                                    div { position: relative; padding-top: 30px; display: block; }

                                    div h3 { position: absolute; top: 0px; left: 0px; display: block; }

                                    div h3 a { width: 200px; height: 230px; display: block; }

                                    div img { width: 200px; height: 200px; display: block; }

                                    This code above is pseudo of course, but i hope you see what we are trying to accomplish. The anchor tag is positioned absolute in the parent div. With the dimensions on it, the link is above the image, so when people hover the image. they automatically hover the link. Clicking in it, takes them to the detail page.

                                    You should try it! Maybe it will help you out.

                                    BeytzNet 2 Replies Last reply Reply Quote 1
                                    • 1 / 1
                                    • First post
                                      Last post

                                    Got a burning SEO question?

                                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                                    Start my free trial


                                    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.

                                    • See all categories

                                    Related Questions

                                    • LesleyPaone

                                      Schema markup concerning category pages on an ecommerce site

                                      We are adding json+ld data to an ecommerce site and myself and one of the other people working on the site are having a minor disagreement on things. What it comes down to is how to mark up the category page. One of us says it needs to be marked up with as an Itempage, https://schema.org/ItemPage  The other says it needs to be marked up as products, with multiple product instances in the schema, https://schema.org/Product The main sticking point on the Itemlist is that Itemlist is a child of intangible, so there is a feeling that should be used for things like track listings or other arbitrary data.

                                      Intermediate & Advanced SEO | | LesleyPaone
                                      2
                                    • cinzia09

                                      Same product in different categories and duplicate content issues

                                      Hi,I have some questions related to duplicate content on e-commerce websites. 1)If a single product goes to multiple categories (eg. A black elegant dress could be listed in two categories like "black dresses" and "elegant dresses") is it considered duplicate content even if the product url is unique? e.g www.website.com/black-dresses/black-elegant-dress duplicated> same content from two different paths www.website.com/elegant-dresses/black-elegant-dress duplicated> same content from two different paths www.website.com/black-elegant-dress unique url > this is the way my products urls look like Does google perceive this as duplicated content? The path to the content is only one, so it shouldn't be seen as duplicated content, though the product is repeated in different categories.This is the most important concern I actually have. It is a small thing but if I set this wrong all website would be affected and thus penalised, so I need to know how I can handle it. 2- I am using wordpress + woocommerce. The website is built with categories and subcategories. When I create a product in the product page backend is it advisable to select  just the lowest subcategory or is it better to select both main category and subcategory in which the product belongs? I usually select the subcategory alone.  Looking forward to your reply and suggestions. thanks

                                      Intermediate & Advanced SEO | | cinzia09
                                      1
                                    • AbsoluteDesign

                                      Ecommerce: A product in multiple categories with a canonical to create a ‘cluster’ in one primary category Vs. a single listing at root level with dynamic breadcrumb.

                                      OK – bear with me on this… I am working on some pretty large ecommerce websites (50,000 + products) where it is appropriate for some individual products to be placed within multiple categories / sub-categories. For example, a Red Polo T-shirt could be placed within: Men’s > T-shirts >
                                      Men’s > T-shirts > Red T-shirts
                                      Men’s > T-shirts > Polo T-shirts
                                      Men’s > Sale > T-shirts
                                      Etc. We’re getting great organic results for our general T-shirt page (for example) by clustering creative content within its structure – Top 10 tips on wearing a t-shirt (obviously not, but you get the idea). My instinct tells me to replicate this with products too. So, of all the location mentioned above, make sure all polo shirts (no matter what colour) have a canonical set within Men’s > T-shirts > Polo T-shirts. The presumption is that this will help build the authority of the Polo T-shirts page – this obviously presumes “Polo Shirts” get more search volume than “Red T-shirts”. My presumption why this is the best option is because it is very difficult to manage, particularly with a large inventory. And, from experience, taking the time and being meticulous when it comes to SEO is the only way to achieve success. From an administration point of view, it is a lot easier to have all product URLs at the root level and develop a dynamic breadcrumb trail – so all roads can lead to that one instance of the product. There's No need for canonicals; no need for ecommerce managers to remember which primary category to assign product types to; keeping everything at root level also means there no reason to worry about redirects if product move from sub-category to sub-category etc. What do you think is the best approach? Do 1000s of canonicals and redirect look ‘messy’ to a search engine overtime? Any thoughts and insights greatly received.

                                      Intermediate & Advanced SEO | | AbsoluteDesign
                                      0
                                    • Bryan_Loconto

                                      When removing a product page from an ecommerce site?

                                      What is the best practice for removing a product page from an Ecommerce site? If a 301 is not available and the page is already crawled by the search engine A. block it out in the robot.txt B. let it 404

                                      Intermediate & Advanced SEO | | Bryan_Loconto
                                      0
                                    • birchlore

                                      Shopify Product Variants vs Separate Product Pages

                                      Let's say I have 10 different models of hats, and each hat has 5 colors. I have two routes I could take: a) Make 50 separate product pages Pros: -Better usability for customer because they can shop for just masks of a specific color. We can sort our collections to only show our red hats. -Help SEO with specific kw title pages (red boston bruins hat vs boston bruins hat). Cons: -Duplicate Content: Hat model in one color will have almost identical description as the same hat in a different color (from a usability and consistency standpoint, we'd want to leave descriptions the same for identical products, switching out only the color) b) Have 10 products listed, each with 5 color variants Pros: -More elegant and organized -NO duplicate Content Cons: -Losing out on color specific search terms -Customer might look at our 'red hats' collection, but shopify will only show the 'default' image of the hat, which could be another color. That's not ideal for usability/conversions. Not sure which route to take. I'm sure other vendors must have faced this issue before. What are your thoughts?

                                      Intermediate & Advanced SEO | | birchlore
                                      0
                                    • Alex-Harford

                                      Do 404 pages pass link juice? And best practices...

                                      Last year Google said bad links to 404 pages wouldn't hurt your site. Could that still be the case in light of recent Google updates to try and combat spammy links and negative SEO? Can links to 404 pages benefit a website and pass link juice? I'd assume at the very least that any link juice will pass through links FROM the 404 page? Many websites have great 404 pages that get linked to: http://www.opensiteexplorer.org/links?site=http%3A%2F%2Fretardzone.com%2F404 - that was the first of four I checked from the "60 Really Cool...404 Pages" that actually returned the 404 HTTP Status! So apologies if you find the word 'retard' offensive. According to Open Site Explorer it has a decent Page Authority and number of backlinks - but it doesn't show in Google's SERPs. I'd never do it, but if you have a particularly well-linked to 404 page, is there an argument for giving it 200 OK Status? Finally, what are the best practices regarding 404s and address bar links? For example, if
                                      www.examplesite.com/3rwdfs returns a 404 error, should I make that redirect to
                                      www.examplesite.com/404 or leave it as is? Redirecting to www.examplesite.com/404 might not be user-friendly as people won't be able to correct the URL in the address bar. But if I have a great  404 page that people link to, I don't want links going to loads of random pages do I? Is either way considered best practice? If I did a 301 redirect I guess it would send the wrong signal to the crawlers? Should I use a 302 redirect, or even a 304 Not Modified redirect?

                                      Intermediate & Advanced SEO | | Alex-Harford
                                      1
                                    • JustinTaylor88

                                      Duplicate internal links on page, any benefit to nofollow

                                      Link spam is naturally a hot topic amongst SEO's, particularly post Penguin. While digging around forums etc, I watched a video blog from Matt Cutts posted a while ago that suggests that Google only pays attention to the first instance of a link on the page As most websites will have multiple instances of a links (header, footer and body text), is it beneficial to nofollow the additional instances of the link? Also as the first instance of a link will in most cases be within the header nav, does that then make the content link text critical or can good on page optimisation be pulled from the title attribute? I would appreciate the experiences and thoughts Mozzers thoughts on this thanks in advance!

                                      Intermediate & Advanced SEO | | JustinTaylor88
                                      0
                                    • Grenadi

                                      301 - should I redirect entire domain or page for page?

                                      Hi, We recently enabled a 301 on our domain from our old website to our new website. On the advice of fellow mozzer's we copied the old site exactly to the new domain, then did the 301 so that the sites are identical. Question is, should we be doing the 301 as a whole domain redirect, i.e. www.oldsite.com is now > www.newsite.com, or individually setting each page, i.e. www.oldsite.com/page1 is now www.newsite.com/page1 etc for each page in our site? Remembering that both old and new sites (for now) are identical copies. Also we set the 301 about 5 days ago and have verified its working but haven't seen a single change in rank either from the old site or new - is this because Google hasn't likely re-indexed yet? Thanks, Anthony

                                      Intermediate & Advanced SEO | | Grenadi
                                      0

                                    Get started with Moz Pro!

                                    Unlock the power of advanced SEO tools and data-driven insights.

                                    Start my free trial
                                    Products
                                    • Moz Pro
                                    • Moz Local
                                    • Moz API
                                    • Moz Data
                                    • STAT
                                    • Product Updates
                                    Moz Solutions
                                    • SMB Solutions
                                    • Agency Solutions
                                    • Enterprise Solutions
                                    • Digital Marketers
                                    Free SEO Tools
                                    • Domain Authority Checker
                                    • Link Explorer
                                    • Keyword Explorer
                                    • Competitive Research
                                    • Brand Authority Checker
                                    • Local Citation Checker
                                    • MozBar Extension
                                    • MozCast
                                    Resources
                                    • Blog
                                    • SEO Learning Center
                                    • Help Hub
                                    • Beginner's Guide to SEO
                                    • How-to Guides
                                    • Moz Academy
                                    • API Docs
                                    About Moz
                                    • About
                                    • Team
                                    • Careers
                                    • Contact
                                    Why Moz
                                    • Case Studies
                                    • Testimonials
                                    Get Involved
                                    • Become an Affiliate
                                    • MozCon
                                    • Webinars
                                    • Practical Marketer Series
                                    • MozPod
                                    Connect with us

                                    Contact the Help team

                                    Join our newsletter
                                    Moz logo
                                    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                    • Accessibility
                                    • Terms of Use
                                    • Privacy

                                    Looks like your connection to Moz was lost, please wait while we try to reconnect.