Do javascript pseudo-links dilute link juice ?
-
Hi,
On our ecommerce, we use multiple pseudo-links for the layered navigation (to filter by color, site, etc), so that google doesn't crawl every combination of filters.
I know this kind of links don't pass link juice and don't get crawled (provided you hide the target urls in your javascript). But, as there is an "onclick" property, I'm afraid that google could understand that these are links, and treat them the same way as nofollowed links (not following them but diluting link juice anyway).
Do you know if this is the case ?
Thanks,
-
No, you should not have any issues with dilluting the source URL, and not pass link juice to the other pages.
Here is a short list of ways I've used the span link.
-
For links that only run JavaScript when they are clicked. They don't load a new page into the browser.
The same thing can be done with href="javascript:..." within an A tag. With the span link, however, any JavaScript that affects the A tags on a page will not affect the span link.
-
For links that only run JavaScript when a mouse hovers over it. They're not supposed to load a new page when the link is clicked.
The span link in this case is so much more elegant. An A tag must have an href attribute and, if the link is used only for an onmouseover, the href must be constructed to do nothing when the link is clicked.
-
Hide from spiders that another web page is being linked to.
Perhaps you wish to link to another website for the convenience of your visitors. Yet, the other website is not in the same category as yours and you don't want certain search engines to think your site is similar to that other.
Or, you simply don't want to provide link juice to the other site.
Source: http://www.willmaster.com/library/web-development/linking-without-an-a-tag.php
-
-
Hi,
It is not set to nofollow, since it is a section (not a <a>). My question was if Google would handle a link the same way as a</a> <a href="" rel="nofollow">, i.e. not pass link juice to the target url, but still dilute link juice from the source url ?</a>
<a href="" rel="nofollow">Thanks</a>
-
Since the onclick event is a Javascript issue it's to all intents and purposes ignored by the search engines. What counts is whether or not your link appears in the href attribute, and whether or not the link is nofollowed. You stated that it is already set to no-follow, so you should be ok.
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
-
Number of internal links and passing 'link juice' down to key pages.
Howdy Moz friends. I've just been checking out this post on Moz from 2011 and wanted to know how relevant it is today? I'm particularly interested in a number of links we have on our HP potentially harming important landing page rankings because not enough 'link juice is getting to them i.e) are they are being diluted by all the many other links on the page? (deeper pages, faqs, etc etc) It seems strange to me that as Google as has got more sophisticated this would still be that relevant (thus the reason for posting). Anyway, I thought I was definitely worth asking. If we can leverage more out of our on-page efforts then great 🙂
On-Page Optimization | | isaac6630 -
Internal linking
Hi Guy's, Whats the best way to set internal links on your website: 1. href=: /page/
On-Page Optimization | | Happy-SEO
2. href=: https://domain.com/page/ Thanks!0 -
Too many page links warning... but each link has canonical back to main page? Is my page OK?
The Moz crawl warns me many of my pages have too many links, like this page http://www.webjobz.com/jobs/industry/Accounting ...... has 269 links but many of the links are like this /jobs/jobtitles/Accounting?k=&w=3&hiddenLocationID=463170&depth=2 and are used to refine search criteria.... when you click on those links they all have a canonical link back to http://www.webjobz.com/jobs/industry/Accounting Is my page being punished for this? Do I have to put "no follow" tags on every link I do not want the bots to follow and if I do so is Roger (moz bot) not going to count this as a link?
On-Page Optimization | | Webjobz0 -
Too many links on page -- how to fix
We are getting reports that there are too many links on most of the pages in one of the sites we manage. Not just a few too many... 275 (versus <100 that is the target). The entire site is built with a very heavy global navigation, which contains a lot of links -- so while the users don't see all of that, Google does. Short of re-architecting the site, can you suggest ways to provide site navigation that don't violate this rule?
On-Page Optimization | | novellseo2 -
To many links hurting me even though they are helping users
I have a scrabble based site where I function as a anagram solver, scrabble dictionary look up and tons of different word lists. In each of these word lists I link every word to my scrabble dictionary. This has caused Google to index 10018 pages total for my site and over 300 of them have well over 100 links. Many of them contain over 1000 links. I know Google's and SEOMOZ stance that anything over 100 will hurt me. I have always seen the warnings in my dashboard warning me of this but I have simply ignored it. I have posted on this Q and A that I have this issue, but IMO having these links benefit the users in the aspect that they don't have to worry about coping the text and putting it in the search box, they can simply click the link. Some have said if it helps the users then I am good, others have said opposite. I am thinking about removing these links from all these word lists to reduce the links per page. My questions are these. 1. If I remove the links from my page could this possible help me? No harm in trying it out so this is an easy question 2. If I remove the links then I will have over 9000 pages that are indexed with Google that no longer have a link pointing to them, except for the aspect that they are indexed with Google still. Is it going to hurt me if I remove these links and Google no longer sees them linked from my site or anywhere else?
On-Page Optimization | | cbielich0 -
Lists of Product Links: What is good, what is bad?
I am a web designer but a bit of an SEO noob (trying to get better at both). I am working with one particular client on a site I inherited with existing structure. This client has about 10 products on 2 pages. On every page there is a product list that is basically the same list sorted in 2 ways: 1st by product, 2nd by usage. These all link to internal anchors so this might be an example on www.site.com Cleaner X1 - links to www.site.com/cleaners.php#x1
On-Page Optimization | | mparry9
Cleaner X2 - links to www.site.com/cleaners.php#x2
Cleaner X3 - links to www.site.com/cleaners.php#x3
...
Cleaner For Brick - links to www.site.com/cleaners.php#x1
Cleaner For Marble - links to www.site.com/cleaners.php#x2
Cleaner For Stone - links to www.site.com/cleaners.php#x3 Obviously this adds about 20 links on every page on the site (including the actual pages these products are on). What are your thoughts on this? Good idea or bad to have on the site? Should I remove the redundant links on the actual page that product falls on...or is this bad and should be removed altogether?0 -
To many links on a single page Error
I've seen it a few times where you should have less then 100 links per page to help crawling unless your a massively authoritative website. But what happens when your a large ecommerce website with categories and sub categories, you could have a category called 'computers' with a drop down list containing lots of sub cat links. Whats the solution to this? Cheers
On-Page Optimization | | activitysuper1 -
100 links on one page
we're recommended 100 links or less on one page. is the 100 links including header and footer links?
On-Page Optimization | | jallenyang0