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
-
Should I nofollow certain outbound links?
Hi, All of our outbound links are currently follow.I've read that the only case where nofollow should be used, according to Google, is for paid links, crawl prioritization & untrustworthy sites.The kinds of websites we are linking to from our blog include:- Websites with great content & high authority that is relevant to the topic we've written about that would enhance the user experience- Partners/companies we have a strong relationship with who also have decent authority- Social media profiles of industry people not within our organisation - Websites with definitions/wikipedia/soundcloud/published statistics/news sites and other large well known sites. I am wondering if we should put the nofollow attribute on the last 2 points (social media profiles of people we've referenced, websites with definitions/wikipedia/soundcloud/published statistics/news sites and other large well known sites.)Or do you think it's totally fine that all our links are follow provided the websites are legitimate, trustworthy and have some authority?Thanks in advance!
On-Page Optimization | | PGAUE0 -
Can any one give some advise on how to work out which back links are bad
we are trying to clean up our site and believe we have bad back links can any one tell me how to work out which ones to disavow
On-Page Optimization | | CostumeD0 -
Should I link G+ and social accounts to internal pages?
Hi Gang, We are a multi-state law firm (Indiana, Michigan, New Mexico) that is looking to increase ranking for Michigan and New Mexico for 2015. (Michigan and New Mexico used to exist as subdomains under 2keller.com but have now been incorporated as pages under the main domain.) The question is whether or not we link directly to what we call the "main state pages" from various accounts like G+, FB, Yellow Pages, Yelp, etc.? For example, should we link from our New Mexcio G+ page to our New Mexico main page, or should it be linked to the main domain at 2keller.com where our general branding is on display? I seem to remember somewhere seeing a Whiteboard Friday or some other forum in which Rand had spoke to something similar. I believe he advised AGAINST trying to control the "user experience" for instances like these, but I can't locate same. I understand that clients/customers are looking for our main brand, but it would seem to be the better experience to get users in state specific locales to their state specific page. Am I thinking wrong about this? Thanks in advance! Wayne
On-Page Optimization | | Wayne760 -
Limiting On Page Links
Right now, we have about 160 or so links on the home page. It's been recommended that we keep it to under 100, though that's not as big of a deal as it once was. Is it helpful to make a bunch of those links "nofollow" in order to preserve link juice? Is it going to make a difference, or be at all helpful? I assume it won't be harmful, especially as a bunch of them are to the same page but on different sections of the page. Would live your advice and thoughts! Thanks!
On-Page Optimization | | DeliaAssociates0 -
Will deleting excess self serving links from old posts damage established ranking
My SEOmoz report showed many posts with "too many links." I can easily go back into wordpress and delete self serving links. But is there a downside to this if these posts are already ranked well on google search for the desired key words? Or will deleting the excess self serving links improve ranking
On-Page Optimization | | wianno1680 -
Why DoFollow & NoFollow Attributes on Same Internal Text Links?
I want to know that, why SEOmoz have defined DoFollow & NoFollow attributes on same internal text links? Please, find out attachment to know more. Left bar have On-Page / Site Optimization link with dofollow attribute but, right section have nofollow. So, why should they have apply on DoFollow or NoFollow attribute on same text links? 6806571615_138b8765fd_b.jpg
On-Page Optimization | | CommercePundit0 -
Prevent link juice to flow on low-value pages
Hello there! Most of the websites have links to low-value pages in their main navigation (header or footer)... thus, available through every other pages. I especially think about "Conditions of Use" or "Privacy Notice" pages, which have no value for SEO. What I would like, is to prevent link juice to flow into those pages... but still keep the links for visitors. What is the best way to achieve this? Put a rel="nofollow" attribute on those links? Put a "robots" meta tag containing "noindex,nofollow" on those pages? Put a "Disallow" for those pages in a "robots.txt" file? Use efficient Javascript links? (that crawlers won't be able to follow)
On-Page Optimization | | jonigunneweg0 -
Should I put a No follow on each link in a Javascript dropdown menu?
I have a javascript dropdown menu on every page of my site. It lists all the wineries I write about and sell. About 300 links. I've been told that google doesn't like so many links on a page, but that it doesn't spider javascrpt. Then I hear that it does. Am I being penalized by all the links? Or does the spider really not see them? I don't want to give up my javascript menus, unless I have to. Should I put a no follow on each link inside the code? And on the other hand, am I losing google juice by not letting it see all the pages on my site that I link to in the javascript menu? Thanks in advance for your help!
On-Page Optimization | | JeanYates0