undefined
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
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • 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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • 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

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • 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.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • 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
2.9k
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 Jun 5, 2012, 4:37 AM

    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 Jun 17, 2012, 1:08 AM Jun 17, 2012, 1:08 AM

      Dear Everett,

      Can you supply the link to the article?

      Thanks

      1 Reply Last reply Reply Quote 0
      • Everett
        Everett last edited by Jun 21, 2012, 3:13 PM Jun 15, 2012, 5:05 PM

        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 Jun 17, 2012, 1:08 AM Reply Quote 0
        • topic:timeago_earlier,10 days
        • X-com
          X-com Subscriber @BeytzNet last edited by Jun 5, 2012, 9:03 AM Jun 5, 2012, 9:03 AM

          No problem, glad I could help!

          1 Reply Last reply Reply Quote 1
          • BeytzNet
            BeytzNet @BeytzNet last edited by Jun 5, 2012, 8:50 AM Jun 5, 2012, 8:50 AM

            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 Jun 5, 2012, 8:18 AM Jun 5, 2012, 8:18 AM

              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 Jun 5, 2012, 7:25 AM Jun 5, 2012, 7:25 AM

                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 Jun 5, 2012, 7:02 AM Jun 5, 2012, 7:02 AM

                  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 Jun 5, 2012, 6:51 AM Jun 5, 2012, 6:51 AM

                    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 Jun 5, 2012, 6:44 AM Jun 5, 2012, 6:44 AM

                      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 Jun 5, 2012, 6:26 AM Jun 5, 2012, 6:26 AM

                        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 Jun 5, 2012, 6:24 AM Jun 5, 2012, 6:24 AM

                          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 Jun 5, 2012, 9:03 AM Reply Quote 0
                          • BeytzNet
                            BeytzNet @AlanMosley last edited by Jun 5, 2012, 6:17 AM Jun 5, 2012, 6:17 AM

                            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 Jun 5, 2012, 6:26 AM Reply Quote 0
                            • AlanMosley
                              AlanMosley last edited by Jun 15, 2012, 5:01 PM Jun 5, 2012, 6:08 AM

                              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 Jun 5, 2012, 6:17 AM Reply Quote 1
                              • BeytzNet
                                BeytzNet @X-com last edited by Jun 5, 2012, 5:13 AM Jun 5, 2012, 5:02 AM

                                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 Jun 5, 2012, 6:51 AM Reply Quote 0
                                • X-com
                                  X-com Subscriber last edited by Jun 5, 2012, 8:50 AM Jun 5, 2012, 4:48 AM

                                  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 Jun 5, 2012, 6:24 AM Reply Quote 1
                                  • 1 / 1
                                  1 out of 16
                                  • First post
                                    1/16
                                    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

                                  • Nobody1616542228134

                                    Is a page with links to all posts okay?

                                    Hi folks. Instead of an archive page template in my theme (I have my reasons), I am thinking of simply typing the post title as and when I publish a post, and linking to the post from there. Any SEO issues that you can think of? Thanks in advance!

                                    Intermediate & Advanced SEO | Mar 31, 2021, 7:27 AM | Nobody1616542228134
                                    0
                                  • Wavelength_International

                                    Should I apply Canonical Links from my Landing Pages to Core Website Pages?

                                    I am working on an SEO project for the website: https://wave.com.au/ There are some core website pages, which we want to target for organic traffic, like this one: https://wave.com.au/doctors/medical-specialties/anaesthetist-jobs/ Then we have basically have another version that is set up as a landing page and used for CPC campaigns. https://wave.com.au/anaesthetists/ Essentially, my question is should I apply canonical links from the landing page versions to the core website pages (especially if I know they are only utilising them for CPC campaigns) so as to push link equity/juice across? Here is the GA data from January 1 - April 30, 2019 (Behavior > Site Content > All Pages😞

                                    Intermediate & Advanced SEO | May 14, 2019, 7:32 PM | Wavelength_International
                                    0
                                  • PeteC12

                                    Ecommerce Site homepage , Is it okay to have Links as H2 Tags as that is relevant to the page ?

                                    Hi All, I have a Rental site and I am bit confused with how best do my H Tags on my homepage I know the H1 is the most important, Then H2 Tags and so on.. and that these tags should really be titles for content. However, I have a few categories (links) on my homepage so I am wondering if I could put these as H2 Tags given that it is relevant to the page . H3 Tags will my News and Guides etc , H4 Tags will the whats on the footer. I am attached a made up screenshot of what I propose for my homepage  if someone could please  give it a quick look ,  it would be very much appreciated. I have looked at what some competitors do a lot of them don't seem to have h2's etc but I know it's an important factor for rankings etc. Many thanks Pete dJSFQwI

                                    Intermediate & Advanced SEO | Oct 31, 2014, 1:33 PM | PeteC12
                                    0
                                  • weebro

                                    Using WP All Import csv import plugin for wordpress to daily update products on large ecommerce site. Category naming and other issues.

                                    We have just got an automated solution working to upload about 4000 products daily to our site. We get a CSV file from the wholesalers server each day and the way they have named products and categories is not ideal. Although most of the products remain the same (don't need to be over written) Some will go out of stock or prices may change etc. Problem is we have no control over the csv file so we need to keep the catagories they have given us. Might be able to create new catgories and have products listed under multiple categories? If anyone has used wp all import or has knoledge in this area please let me know. I have plenty more questions but this should start the ball rolling! Thanks in advance mozzers

                                    Intermediate & Advanced SEO | Apr 27, 2013, 10:03 PM | weebro
                                    0
                                  • JenniferDacosta

                                    Is it a bad idea to have a "press" page and link to press mentions of our company?

                                    We've recently been getting quite a bit of press. Would it be wise to create a "press" page and link to mentions of us or would this devalue the links on the press pages as Google may think they reciprocal?

                                    Intermediate & Advanced SEO | Mar 20, 2013, 10:01 PM | JenniferDacosta
                                    0
                                  • richardo24hr

                                    Best possible linking on site with 100K indexed pages

                                    Hello All, First of all I would like to thank everybody here for sharing such great knowledge with such amazing and heartfelt passion.It really is good to see. Thank you. My story / question: I recently sold a site with more than 100k pages indexed in Google. I was allowed to keep links on the site.These links being actual anchor text links on both the home page as well on the 100k news articles. On top of that, my site syndicates its rss feed (Just links and titles, no content) to this page. However, the new owner made a mess, and now the site could possibly be seen as bad linking to my site. Google tells me within webmasters that this particular site gives me more than 400K backlinks. I have NEVER received one single notice from Google that I have bad links. That first. But, I was worried that this page could have been the reason why MY site tanked as bad as it did. It's the only source linking so massive to me. Just a few days ago, I got in contact with the new site owner. And he has taken my offer to help him 'better' his site. Although getting the site up to date for him is my main purpose, since I am there, I will also put effort in to optimizing the links back to my site. My question: What would be the best to do for my 'most SEO gain' out of this? The site is a news paper type of site, catering for news within the exact niche my site is trying to rank. Difference being, his is a news site, mine is not. It is commercial. Once I fix his site, there will be regular news updates all within the niche we both are in. Regularly as in several times per day. It's news. In the niche. Should I leave my rss feed in the side bars of all the content? Should I leave an achor text link on the sidebar (on all news etc.) If so: there can be just one keyword... 407K pages linking with just 1 kw?? Should I keep it to just one link on the home page? I would love to hear what you guys think. (My domain is from 2001. Like a quality wine. However, still tanked like a submarine.) ALL SEO reports I got here are now Grade A. The site is finally fully optimized. Truly nice to have that confirmation. Now I hope someone will be able to tell me what is best to do, in order to get the most SEO gain out of this for my site. Thank you.

                                    Intermediate & Advanced SEO | Jan 7, 2013, 9:51 PM | richardo24hr
                                    0
                                  • Marketing.SCG

                                    Magento: URLs for Products in Multiple Categories

                                    I am working in Magento to build out a large e-commerce site with several thousand products. It's a great platform, but I have run into the issue of what it does to URLs when you put a product into multiple categories. Basically, "a book" in two categories would make two URLs for one product: 1) /books/a-book 2) author-name/a-book So, I need to come up with a solution for this. It seems I have two options: Found this from a Magento SEO article: 'Magento gives you the ability to add the name of categories to path for product URL's. Because Magento doesn't support this functionality very well - it creates duplicate content issues - it is a very good idea to disable this. To do this, go to System => Configuration => Catalog => Search Engine Optimization and set "Use categories path for product URL's to "no".' This would solve the issues and be a quick fix, but I think it's a double edged sword, because then we lose the SEO value of our well named categories being in the URL. Use Canonical tags. To be fair, I'm not even sure this is possible. Even though it is creating different URLs and, thus, poses a risk of "duplicate content" being crawled, there really is only one page on the admin side. So, I can't go to all of the "duplicate" pages and put a canonical tag, because those duplicate pages don't really exist on the back-end. Does that make sense? After typing this out, it seems like the best thing to do probably will be to just turn off categories in the URL from the admin side. However, I'd still love any input from the community on this. Thanks!

                                    Intermediate & Advanced SEO | Mar 28, 2012, 6:08 PM | Marketing.SCG
                                    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 | Dec 6, 2011, 2:54 PM | 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
                                  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.