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?
- 
					
					
					
					
 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-93758The 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 
- 
					
					
					
					
 Dear Everett, Can you supply the link to the article? Thanks 
- 
					
					
					
					
 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 
- 
					
					
					
					
 No problem, glad I could help! 
- 
					
					
					
					
 Works amazing!!!!! Thanks a lot for all of your help. 
- 
					
					
					
					
 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> 
- 
					
					
					
					
 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 
- 
					
					
					
					
 Yeah of course, you can style the link any way you want. Even hide it  although I wouldn't recommend that hehe. although I wouldn't recommend that hehe.I made this jsfiddle for you: http://jsfiddle.net/D7vMG/1/ good luck trying it yourself! 
- 
					
					
					
					
 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. 
- 
					
					
					
					
 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. 
- 
					
					
					
					
 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 
- 
					
					
					
					
 Is there a way to do so and having the link appearing beneath the image? I don't want to change the design 
- 
					
					
					
					
 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? 
- 
					
					
					
					
 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 textYou can just link the whole lot in the one link. Or move your text to above the image. 
- 
					
					
					
					
 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 
- 
					
					
					
					
 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 iPadAs 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. 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Would You Redirect a Page if the Parent Page was Redirected?
 Hi everyone! Let's use this as an example URL: https://www.example.com/marvel/avengers/hulk/ We have done a 301 redirect for the "Avengers" page to another page on the site. Sibling pages of the "Hulk" page live off "marvel" now (ex: /marvel/thor/ and /marvel/iron-man/). Is there any benefit in doing a 301 for the "Hulk" page to live at /marvel/hulk/ like it's sibling pages? Is there any harm long-term in leaving the "Hulk" page under a permanently redirected page? Thank you! Matt Intermediate & Advanced SEO | | amag0
- 
		
		
		
		
		
		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 | | LesleyPaone2
- 
		
		
		
		
		
		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 | | cinzia091
- 
		
		
		
		
		
		What is the best practice for URLs for E-commerce products in multiple categories?
 Hello all! I have always worked successfully with SEO on E-commerce sites, however we are currently revamping an older site for a client and so I thought I'd turn to the community to ask what the best practices that you guys are experiencing for url structures at the moment. Obviously we do not wish to create duplicate content and so the big question is, what would you guys do for the very best structure for URLs on an E-commerce site that has products in multiple categories? Let's imagine we are selling toy cars. I have a sports car for sale, so naturally it can go in the sports cars category and it could also go in to the convertibles category too. What is the best way you have found recently that works and increases rankings, but does not create duplicate content? Thanks in advance! 🙂 Kind Regards, JDM Intermediate & Advanced SEO | | Hatfish0
- 
		
		
		
		
		
		Effect of Removing Footer Links In all Pages Except Home Page
 Dear MOZ Community: In an effort to improve the user interface of our business website (a New York CIty commercial real estate agency) my designer eliminated a standardized footer containing links to about 20 pages. The new design maintains this footer on the home page, but all other pages (about 600 eliminate the footer). The new design does a very good job eliminating non essential items. Most of the changes remove or reduce the size of unnecessary design elements. The footer removal is the only change really effect the link structure. The new design is not launched yet. Hoping to receive some good advice from the MOZ community before proceeding My concern is that removing these links could have an adverse or unpredictable effect on ranking. Last Summer we launched a completely redesigned version of the site and our ranking collapsed for 3 months. However unlike the previous upgrade this modifications does not URL names, tags, text or any major element. Only major change is the footer removal. Some of the footer pages provide good (not critical) info for visitors. Note the footer will still appear on the home page but will be removed on the interior pages. Are we risking any detrimental ranking effect by removing this footer? Can we compensate by adding text links to these pages if the links from the footer are removed? Seems irregular to have a home page footer but no footer on the other pages. Are we inviting any downgrade, penalty, adverse SEO effect by implementing this? I very much like the new design but do not want to risk a fall in rank and traffic. Thanks for your input!!! Intermediate & Advanced SEO | | Kingalan1
 Alan0
- 
		
		
		
		
		
		Cross linking between categories
 Is it useful for SEO to cross link between TOP level categories, let's say I have a Home page and then 2 sub categories, one about green widgets one about red widgets Intermediate & Advanced SEO | | seoanalytics
 Should i create a link from the green widget to the red widget or should I leave those are separate silos ? I know that within a silo i need to cross link ( from green widget 1 to green widget 2 etc... ) but how about about from the main category to the other main category ?0
- 
		
		
		
		
		
		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 | | Marketing.SCG0
- 
		
		
		
		
		
		Should I prevent Google from indexing blog tag and category pages?
 I am working on a website that has a regularly updated Wordpress blog and am unsure whether or not the category and tag pages should be indexable. The blog posts are often outranked by the tag and category pages and they are ultimately leaving me with a duplicate content issue. With this in mind, I assumed that the best thing to do would be to remove the tag and category pages from the index, but after speaking to someone else about the issue, I am no longer sure. I have tried researching online, but there isn't anything that provided any further information. Please can anyone with any experience of dealing with issues like this or with any knowledge of the topic help me to resolve this annoying issue. Any input will be greatly appreciated. Thanks Paul Intermediate & Advanced SEO | | PaulRogers0
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				