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.
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 text
You 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 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.
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 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.
Related Questions
-
Is the flow of page rank through anchor text links diminished if hidden using tabs
Hi there, Whilst there is plenty of information online regarding the devaluation of hidden content using tabs, it seems to be more difficult to get a clear answer as to how page rank is impacted when anchor text links are hidden. If an anchor text link is hidden using tabs, will the flow of page rank to the page the anchor text leads to be negatively impacted? If so, why? To add further context, whilst the anchor text link would be visible in the HTML, the tab would be dependant on JavaScript to function. Thanks,
Intermediate & Advanced SEO | | SEONOW1230 -
Product Pages not indexed by Google
We built a website for a jewelry company some years ago, and they've recently asked for a meeting and one of the points on the agenda will be why their products pages have not been indexed. Example: http://rocks.ie/details/Infinity-Ring/7170/ I've taken a look but I can't see anything obvious that is stopping pages like the above from being indexed. It has a an 'index, follow all' tag along with a canonical tag. Am I missing something obvious here or is there any clear reason why product pages are not being indexed at all by Google? Any advice would be greatly appreciated. Update I was told 'that each of the product pages on the full site have corresponding page on mobile. They are referred to each other via cannonical / alternate tags...could be an angle as to why product pages are not being indexed.'
Intermediate & Advanced SEO | | RobbieD910 -
Our client's web property recently switched over to secure pages (https) however there non secure pages (http) are still being indexed in Google. Should we request in GWMT to have the non secure pages deindexed?
Our client recently switched over to https via new SSL. They have also implemented rel canonicals for most of their internal webpages (that point to the https). However many of their non secure webpages are still being indexed by Google. We have access to their GWMT for both the secure and non secure pages.
Intermediate & Advanced SEO | | RosemaryB
Should we just let Google figure out what to do with the non secure pages? We would like to setup 301 redirects from the old non secure pages to the new secure pages, but were not sure if this is going to happen. We thought about requesting in GWMT for Google to remove the non secure pages. However we felt this was pretty drastic. Any recommendations would be much appreciated.0 -
Product Category Subcategory hierarchy
Hi all, I am developing an ecommerce store and would like some advice on the Category / Product URL structure for SEO purposes. Products have many options Products belong to a sub-category. Sub categories belong to a category There will be a maximum of 500 products in the database. 1. http://shop.com/{category}/{product_slug}?{product_option} Flattened with query string option http://shop.com/apple/iphone-5s?model=32gb&colour=white 2. http://shop.com/{category}/{subcategory}/{product_slug}?{product_option} // Hierarchical with query string option 3. http://shop.com/{category}/{product_slug}/{product_option} 4. http://shop.com/{category}/{subcategory}/{product_slug}/{product_option} 5. http://shop.com/{category}/{product-slug} http://shop.com/apple/iphone-5s-32gb-black Option 5 seems best to me, however I am also worried about duplicate content between pages. http://shop.com/apple/iphone-5s-32gb-black http://shop.com/apple/iphone-5s-64gb-black http://shop.com/apple/iphone-5s-64gb-white The above 3 examples will all have very similar content. And if I use canonical url tag, which product page would I refer these pages to? At least with Option 1 I can use the canonical tag to tell search engines that pages with get parameters can point to the non get parameter version. In addition to Option 5, should I create a http://shop.com/{category}/{subcategory} page? That way Option 5 item canonical tags can point to that page. e.g. http://shop.com/apple/iphone-5s which would contain product summary detail with product options listed on the page? Am I missing something here or can anybody provide a better solution?
Intermediate & Advanced SEO | | MangoMM0 -
If I only Link to Page via Sitemap, can it still get indexed?
Hi there! I am creating a ton of content for specific geographies. Is it possible for these pages to get indexed if I only put them in my sitemap and don't link to them through my actual site (though the pages will be live). Thanks!
Intermediate & Advanced SEO | | Travis-W
Travis0 -
New Website Look/Structure - Should I Redirect or Update Pages w/ Quality Inbound Links
This questing is regarding an ecommerce website that I hand wrote(html) in 1997. One of the first click and buy websites, with cart/admin system that I also developed. After all this time, the Old plain HTML look just doesnt cut it. I just updated to XHTML w/ a very modern look, and believe the structured data will index better. All products and current category pages will have the identical vrls taken from the old version. I decided to go with the switch after manual penalty, which has since been removed... I figured now is the time to update. My big question is that over the years, a lot of my backlinks came from products/news that are either no longer relevant or just not available. The pages do exist, but can only be found from the Outbound Link Source. For SEO purposes, I have thought a few things I can do but can't decide which one is the best choice. Any Insight or suggestions would be Awesome! 1. Redirect the old link to the most relevant page in my current catalog. 2. Add my new header/footer to old page(this will add a navigation bar w/ brands/cats/etc) 3. Simply add a nice new image to the top of these pages linking home & update any broken/irrelevant links. I was also considering adding just the very top 2 inches of my header(logo,search box, phone, address) *note, some of these pages do receive some traffic. Nothing huge, but consider the 50+ pages, it ads up.
Intermediate & Advanced SEO | | Southbay_Carnivorous_Plants0 -
On Page vs Off Page - Which Has a Greater Effect on Rankings?
Hi Mozzers, My site will be migrating to a new domain soon, and I am not sure how to spend my time. Should I be optimizing our content for keywords, improving internal linking, and writing new content - or should I be doing link building for our current domain (or the new one)? Is there a certain ratio that determines rankings which can help me prioritize these to-dos?, such as 70:30 in favor of link-building? Thanks for any help you can offer!
Intermediate & Advanced SEO | | Travis-W0 -
Video Content, created for links back to our domain landing page.. the right way to do it?
Hi We've just finished a great bit of video content for a page we're trying to push up the serps. I've done some reading around but there are lots of conflicting views. We have created this content (its a city guide) for the purpose of becoming the resource on this topic but we are a new site and we need the links we hope to generate from this, we don't want the links to youtube. Where would you upload the video? Everywhere? One place? Vimeo? Thanks
Intermediate & Advanced SEO | | xoffie0