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. 
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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 does product category description affect SEO?
 Hi - we are a website that sells tours. We have category pages that list the tours in that category (by city, by length of time, theme, etc). At the top of each category page, before the buttons linking to the tours, there is a category description. It is a pretty long paragraph. We are redesigning the website and think it would look nicer to show 2-3 lines of text and then have a down arrow and 'read' more so people can click and it would expand to show the full category description if they want to read it and it won't take up so much room that way. My question is - will this affect SEA at all? Or because the text is still there, just hidden, it won't do anything? Our site ranks very high in organic searches on google and we do not want to do anything that will hurt SEO. thanks. Intermediate & Advanced SEO | | Shirapn0
- 
		
		
		
		
		
		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 | | Wavelength_International0
- 
		
		
		
		
		
		I have a lot of spammy links coming to my 404 page (the URLs have been removed now). Should i re-direct to Home?
 I have a lot of spammy links pointing at my website according to MOZ. Thankfully all of them were for some URLs that we've long since removed so they're hitting my 404. Should i change the 404 with a 301 and Re-Direct that Juice to my home page or some other page or will that hurt my ranking? Intermediate & Advanced SEO | | jagdecat0
- 
		
		
		
		
		
		Do search engines crawl links on 404 pages?
 I'm currently in the process of redesigning my site's 404 page. I know there's all sorts of best practices from UX standpoint but what about search engines? Since these pages are roadblocks in the crawl process, I was wondering if there's a way to help the search engine continue its crawl. Does putting links to "recent posts" or something along those lines allow the bot to continue on its way or does the crawl stop at that point because the 404 HTTP status code is thrown in the header response? Intermediate & Advanced SEO | | brad-causes0
- 
		
		
		
		
		
		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_Loconto0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		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 | | richardo24hr0
- 
		
		
		
		
		
		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
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				