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
-
Combining adjacent image and text links
Hey, The pages on one of our sites has a lot of links on it, which I have read a couple of times can be bad for SEO, although many say don't worry too much about it. However, I was thinking to reduce links and also reduce code size combining adjacent image and text links. For example they current look like this:
On-Page Optimization | | mdeluk
"
Products page" I am thinking maybe I should change to the following:
"Products page" However, is this bad code and therefore could be bad for SEO? I have tried Googling this but couldn't seem to find anything on it.0 -
After HTTPS upgrade, should I change all internal links, or a general 301 redirect is better?
I recently upgraded to https. Of course most internal links of my old posts are still http. So I set up a 301 redirect in order to make the old link works. In terms od SEO this is good or it is better to update all the internal links to https, manually? In that case can I do it in batch with a search/replace command in the phmyadmin database? any other suggested method? thank you
On-Page Optimization | | micvitale0 -
Navigational Links in Dropdown Menus
Hi Mozzers will navigational links in dropdown menus carry the same weight for Google, just as navigational links that are always visible to the user do? Thx, Chris
On-Page Optimization | | Diderino0 -
Link to social network
I have very powerfull social network but i do not link to them from my website to improve page speed and avoid external links on main page. Althought i do link from my twitter acounts , facebook and google to my site. Should i link to my twitter or social on main page. I do not want to send people to there. I want to send people from there to my page.
On-Page Optimization | | maestrosonrisas0 -
Internal link text
Hi With internal links, should I make sure to always use the same anchor text im trying to rank the page for? For example im having a tidy up and have realised im linking to the same page in multiple blog posts using different anchor text. Whats the rule of thumb here? Thanks Chris
On-Page Optimization | | mrcsleonard1 -
23000 Links are not found- Should I redirect them?
Hi I have been deleting product links from my website but never redirect them. On my google webmaster, it shows there is total 23000 products are not found. Should I redirect them all back to the home page? For the pages with soft 404 response.. should I also redirect those original URL back to home page ? Thanks
On-Page Optimization | | ilovebodykits0 -
How do I PERMANENTLY change an incorrect URL link with one of my keywords?
Hello, I received an “F” grade on my on-page report for one of my keywords. I noticed that the URL linked with that keyword was wrong. After changing it to the correct URL, I received an “A.” However, the change was not permanent. How do I permanently change the URL? I don’t see any “Save Changes” or “Apply Changes” button anywhere. Thank you!
On-Page Optimization | | jampaper0 -
Blog outgoing links to a certain domain?
Hi Mozzers, I am working with a website with very decentralized ownership. There are two different languages, each with a different owner. Owner A keeps linking to crap sites, that hurt the entire site. My question is this: Is there a way - through .htaccess or robots.txt - that Google can be asked NOT to crawl the links to external crap sites? The problem is that Owner B cannot control Owner A's html, and thus not implement rel="nofollow" on links. Thanks!
On-Page Optimization | | ThomasHgenhaven0