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
- 
		
		
		
		
		
		JSON-LD schema markup for a category landing page
 I'm working on some schema for a client and have a question regarding the use of schema for a high-level category page. This page is merely the main lander for Categories. For example: https://www.examples.com/pages/categories And all it does is list links to the three main categories (Men's, Women's, Kid's) - it's a clothing store. This is the code I have right now. In short, simply using type @Itemlist and an array that uses @ListItem. Structured Data Testing Tool returns no errors with it, but my main question is this: Is this the _correct _way to do a page like this, or are there better options? Thanks. Intermediate & Advanced SEO | | Alces0
- 
		
		
		
		
		
		Best Practices for Title Tags for Product Listing Page
 My industry is commercial real estate in New York City. Our site has 300 real estate listings. The format we have been using for Title Tags are below. This probably disastrous from an SEO perspective. Using number is a total waste space. A few questions: Intermediate & Advanced SEO | | Kingalan1
 -Should we set listing not no index if they are not content rich?
 -If we do choose to index them, should we avoid titles listing Square Footage and dollar amounts?
 -Since local SEO is critical, should the titles always list New York, NY or Manhattan, NY?
 -I have red that titles should contain some form of branding. But our company name is Metro Manhattan Office Space. That would take up way too much space. Even "Metro Manhattan" is long. DO we need to use the title tag for branding or can we just focus on a brief description of page content incorporating one important phrase? Our site is: w w w . m e t r o - m a n h a t t a n . c o m <colgroup><col width="405"></colgroup>
 | Turnkey Flatiron Tech Space | 2,850 SF $10,687/month | <colgroup><col width="405"></colgroup>
 | Gallery, Office Rental | Midtown, W. 57 St | 4441SF $24055/month | <colgroup><col width="405"></colgroup>
 | Open Plan Loft |Flatiron, Chelsea | 2414SF $12,874/month | <colgroup><col width="405"></colgroup>
 | Tribeca Corner Loft | Varick Street | 2267SF $11,712/month | <colgroup><col width="405"></colgroup>
 | 275 Madison, LAW, P7, 3,252SF, $65 - Manhattan, New York |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
- 
		
		
		
		
		
		Category Pages & Content
 Hi Does anyone have any great examples of an ecommerce site which has great content on category pages or product listing pages? Thanks! Intermediate & Advanced SEO | | BeckyKey1
- 
		
		
		
		
		
		My blog is indexing only the archive and category pages
 Hi there MOZ community. I am new to the QandA and have a question. I have a blog Its been live for months - but I can not get the posts to rank in the serps. Oddly only the categories rank. The posts are crawled it seems - but seen as less important for a reason I don't understand. Can anyone here help with this? See here for what i mean. I have had several wp sites rank well in the serps - and the posts do much better. Than the categories or archives - super odd. Thanks to all for help! Intermediate & Advanced SEO | | walletapp0
- 
		
		
		
		
		
		Ranking Page - Category vs. Blog Post - What is best for CTR?
 Hi, I am not sure wether I shall rank with a category page, or create a new post. Let me explain... If I google for 'Basic SEO' I see an article from Rand with Authorship markup. That's cool so I can go straight to this result because I know there might be some good insight. BUT: 'Basic SEO' is also an category at MOZ an it is not ranking. On the other hand, if I google for 'advanced SEO' then the MOZ category for 'advanced SEO' is ranking. But there is no authorship image, so users are much less likely to click on that result. Now, I want to rank for a very important keyword for me (content keyword, not transactional). Therefor, I have a category called 'yoga exercises'. But shall I rather create an post about them only to increase CTR due to Google Authorship? I read in Google guidelines that Authorship on homepage an category pages are not appreciated. Hope you have some insights that can help me out. Intermediate & Advanced SEO | | soralsokal0
- 
		
		
		
		
		
		Outbound link to PDF vs outbound link to page
 If you're trying to create a site which is an information hub, obviously linking out to authoritative sites is a good idea. However, does linking to a PDF have the same effect? e.g Linking to Google's SEO starter guide PDF, as opposed to linking to a google article on SEO. Thanks! Intermediate & Advanced SEO | | underscorelive0
- 
		
		
		
		
		
		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
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				