href="#" and href="javascript.void()" links. Is there a difference SEO wise?
-
I am currently working a site re-design and we are looking at if href="#" and href="javascript.void()" have an impact on the site? We were initially looking at getting the links per page down but I am thinking that rel=nofollow is the best method for this. Anyone had any experience with this? Thanks in advanced
-
All links consume link juice even nofollow links.
What happens to the link juice is the question, does href="#" just flow back to the same page, first thoughts are yes, but then if that is the case, you would be able to manipulate how much link juice flows out of other links but adding more. so I think they may waste link juice. JavaScript links use link juice and there is no guarantee that Google is able to pass that link juice on.A lot of CMS use this type of links href="#" on a A tag then use the A tag for some other reason, such as a button to fire JavaScript. I believe that if you want a button use a button, if you want a JavaScript link then attach the event to a SPAN or DIV, use A tags only for real links and be sure you know what is happening to your link juice.
-
Thanks for the response, the amount of links really varies per page but could be around 170 in some cases and some of these links are external as well as internal. The site itself has plenty of content so it isn't a case of us trying to cheat any sort of Google guideline but to try and keep number of page links down.
Basically I wanted to know if we would be hurt by using javascript link instead of the usual href="#"
-
How many links are on the page?
If the links are internal and there to help the users navigate then why not leave them as do follow? If there are so many links that you're concerned, it might be worth considering that there too many links, not just as far a Google is concerned but also form the users perpective.
Remember, using nofollow top sculpt Page Rank is against G's guidelines.
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
-
"Fake" market research reports killing SEO
Our robotics company is in a fast growing, competitive market. There are an assortment of "market research" companies who are distributing press releases about their research reports (which are of less than dubious quality). These announcements end up being distributed through channels with high domain authority. The announcements mention many companies in the space that the purported report covers - including ours. As a result, our company name and product brand is suffering since the volume of press announcements is swamping our ratings. What would you do? Start writing blog postings on topics and post through inexpensive news feeds? Somehow contact the firms posting the contact and let them know they are in violation of our trademarks by mentioning our name? Other ideas?
White Hat / Black Hat SEO | | amelanson1 -
Help! Is this what is called "cloaking"?
Friend asked me to look at her website. Ran it through screaming frog and BAM, instead of 4 pages i was expecting it returned HUNDREDS. 99.9% of them are for cheap viagra and pharmaceuticals. I asked her if she was selling viagra, which is fine, I don't judge. But she swears she isn't. http://janeflahertyesq.com I ran it through google site:janeflahertyesq.com and sure enough, if you click on some of those, they take you to canadien pharmacys selling half priced blue pills. a) is this cloaking? if not, what is going on? b) more importantly, how do I we get rid of those hundreds of pages / de-indexed She's stumped and scared. Any help would be greatly appreciated. Thank you all in advance and for the work you do.
White Hat / Black Hat SEO | | TeamPandoraBeauty0 -
How to find trustful seo specialist?
How to find trustful seo specialist if you don't know about SEO a lot?
White Hat / Black Hat SEO | | DigiVital1 -
Does this type of link pass juice?
I have a backlink that looks like this: https://theirsite.com/go/?t=https%3A//www.mysite.com Will that pass link juice?
White Hat / Black Hat SEO | | vcj0 -
Are multiple links on the same domain worth pursuing?
Let's say you get a guest post on a blog that links to your site for $100. How much is the link from another guest post on the same domain worth? $90? $50? Does each additional link from the same domain lose its SEO impact? What if one blogger loves your content and is willing to post 10+ of your blog posts with links to your site in each - is that worth pursuing just from an SEO standpoint (I know it can be a good branding opportunity if the readership is right)?
White Hat / Black Hat SEO | | pbhatt0 -
What if White Hat SEO does not get results?
If company A is paying 5k a month and some of that budget is buying links or content that might be in the gray area but is ranking higher than company B that's following the "rules" and paying the same but not showing up at all, what's company B suppose to do?
White Hat / Black Hat SEO | | EmarketedTeam2 -
Fix Bad Links in Google
I have a client who had some grey hat SEO done in the past. Some of their back links aren't from the best neighborhoods. Google didn't seem to mind until 9/28, when they literally disappeared for all searches except for their domain name. Google still has their site indexed, but it's just not showing up. There are no messages in Webmaster Tools. I know Bing has the tool where you can disavow bad links and ask them to discount them. Google doesn't have such a tool, but what is the strategy when you don't have control over the link sources, such as in blog comments? Could this update have been a delayed Penguin ranking change from the latest Penguin Update on the 18th? http://www.seomoz.org/google-algorithm-change Any advice would be greatly appreciated. Thanks, Tom
White Hat / Black Hat SEO | | TomBristol0 -
Do Friends Let Friends Sell Links?
I have a friend with a site that has a lot of content. Some of that content has affiliate links with no follows to affiliate urls. Those pages also have a disclosure on them about the affiliate relationship. Now, he's talking about taking some of the existing under-performing affiliate links and renting them out to another site that wants them for the link juice. He says he'd have an on-page disclosure, a display ad for the advertiser on the page and something in the text like "you might check out our advertiser..." and then some keyword targeted link. He was asking me how risky I thought this is for him and really I don't know.Do you think Google would find this and s**t a chicken over it? I really don't know, given that I see really blatant undisclosed rented links all the time.Of course, my easy answer to him is "don't do it," but it does make me wonder how risky that is. Also, is that a realistic site-wide penalty kind of thing or it just doesn't pass any link juice to the advertiser kind of thing? So, I'm posting here for others to weigh in on. Thanks!
White Hat / Black Hat SEO | | 945010