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
- 
		
		
		
		
		
		How Many Links to Disavow at Once When Link Profile is Very Spammy?
 We are using link detox (Link Research Tools) to evaluate our domain for bad links. We ran a Domain-wide Link Detox Risk report. The reports showed a "High Domain DETOX RISK" with the following results: -42% (292) of backlinks with a high or above average detox risk Intermediate & Advanced SEO | | Kingalan1
 -8% (52) of backlinks with an average of below above average detox risk
 -12% (81) of backlinks with a low or very low detox risk
 -38% (264) of backlinks were reported as disavowed. This look like a pretty bad link profile. Additionally, more than 500 of the 689 backlinks are "404 Not Found", "403 Forbidden", "410 Gone", "503 Service Unavailable". Is it safe to disavow these? Could Google be penalizing us for them> I would like to disavow the bad links, however my concern is that there are so few good links that removing bad links will kill link juice and really damage our ranking and traffic. The site still ranks for terms that are not very competitive. We receive about 230 organic visits a week. Assuming we need to disavow about 292 links, would it be safer to disavow 25 per month while we are building new links so we do not radically shift the link profile all at once? Also, many of the bad links are 404 errors or page not found errors. Would it be OK to run a disavow of these all at once? Any risk to that? Would we be better just to build links and leave the bad links ups? Alternatively, would disavowing the bad links potentially help our traffic? It just seems risky because the overwhelming majority of links are bad.0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		Why does Google rank a product page rather than a category page?
 Hi, everybody In the Moz ranking tool for one of our client's (the client sells sport equipment) account, there is a trend where more and more of their landing pages are product pages instead of category pages. The optimal landing page for the term "sleeping bag" is of course the sleeping bag category page, but Google is sending them to a product page for a specific sleeping bag.. What could be the critical factors that makes the product page more relevant than the category page as the landing page? Intermediate & Advanced SEO | | Inevo0
- 
		
		
		
		
		
		Ecommerce Site - Duplicate product descriptions & SKU pages
 Hi I have a couple of questions regarding the best way to optimise SKU pages on a large ecommerce site. At the moment we have 2 landing pages per product - one is the primary landing page with no SKU, the other includes the SKU in the URL so our sales people & customers can find it when using the search facility on the site. The SKU landing page has a canonical pointing to the primary page as they're duplicates. Is this the best way? Or is it better to have the one page with the SKU in the URL? Also, we have loads of products with the very similar product descriptions, I am working on trying to include a unique paragraph or few sentences on these to improve the content - how dangerous is the duplicate content within your own site? I know its best to have totally unique content, but it won't be possible on a site with thousands of products and a small team. At the moment I am trying to prioritise the products to update. Thank you 🙂 Intermediate & Advanced SEO | | BeckyKey0
- 
		
		
		
		
		
		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 > Intermediate & Advanced SEO | | AbsoluteDesign
 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.0
- 
		
		
		
		
		
		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 Intermediate & Advanced SEO | | Alex-Harford
 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?1
- 
		
		
		
		
		
		100 + links on a scrolling page
 Can you add more than 100 links on your webpage If you have a webpage that adds more content from a database as a visitor scrolls down the page. If you look at the page source the 100 + links do not show up, only the first 20 links. As you scroll down it adds more content and links to the bottom of the page so its a continuos flowing page if you keep scrolling down. Just wanted to know how the 100 links maximum fits into this scenario ? Intermediate & Advanced SEO | | jlane90
- 
		
		
		
		
		
		Are duplicate links on same page alright?
 If I have a homepage with category links, is it alright for those category links to appear in the footer as well, or should you never have duplicate links on one page? Can you please give a reason why as well? Thanks! Intermediate & Advanced SEO | | dkamen0
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				