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
-
Is a Link Wheel Safe If I Control the Wheel?
Hi, folks. Our company operates over 50 disease-specific, nice websites. Currently, we're building resource/landing pages for some therapies and other related topics. One experimental therapy is being investigated across four different disease types: cystic fibrosis, Muscular Dystrophy, Hemophilia, and cancers. We have sites for all of them, and have created original landing pages for each site. Question: is it safe / does it make sense to "link wheel" these pages, especially since the wheel is composed of all our own sites? The other option of course is to simply interlink all of them, but will I get more visibility with a cyclical linking scheme? I'd love to hear your thoughts on this. Thanks!
White Hat / Black Hat SEO | | Michael_Nace1 -
Does type of hosting affect SEO rankings?
Hello, I was wondering if hosting on shared, versus VPS, versus dedicated ... matter at all in terms of the rankings of Web sites ... given that all other factors would be exactly equal. I know this is a big question with many variables, but mainly I am wondering if, for example, it is more the risk of resource usage which may take a site down if too much traffic and therefore make it un-crawlable if it happens at the moment that a bot is trying to index the site (factoring out the UX of a downed site). Any and all comments are greatly appreciated! Best regards,
White Hat / Black Hat SEO | | uworlds
Mark0 -
How to add ">" category reveal in google search
When i look through google search and see some website categories their site this way. For example groupon www.groupon.com › Coupons › Browse Coupons by Store how do you do this for a website? for example wordpress. does this help with seo?
White Hat / Black Hat SEO | | andzon0 -
Competition Link Metrics Analysis - Do you have any suggestions ?
My sub-pages are ranking well, but Homepage isn't ranking well for the keywords I'd like it to. It used to in the past. My site - njhypnotherapy.com used to rank (#2-5) 1st page in google for many keywords. In Sep/Oct I noticed my homepage ranking drop dramatically for the main keywords. Well, I made some foolish decisions and I'm trying to clean up the mess. Low quality links, duplicate content...etc I rewrote most of the content, removed unnecessary pages, removed as many low quality links, and used disavow for the rest. It's been a 2 Weeks now. I noticed a lot of improvements in my sub-pages. From #50 to #20. Not Bad. My homepage still isn't ranking. Any suggestions to improve? Btw, I've included my link metrics below if it helps 🙂 Thank You metricks.png
White Hat / Black Hat SEO | | njhypnotherapy0 -
Have just submitted Disavow file to Google: Shall I wait until after they have removed bad links to start new content lead SEO campaign?
Hi guys, I am currently conducting some SEO work for a client. Their previous SEO company had built a lot of low quality/spam links to their site and as a result their rankings and traffic have dropped dramatically. I have analysed their current link profile, and have submitted the spammiest domains to Google via the Disavow tool. The question I had was.. Do I wait until Google removes the spam links that I have submitted, and then start the new content based SEO campaign. Or would it be okay to start the content based SEO campaign now, even though the current spam links havent been removed yet.. Look forward to your replies on this...
White Hat / Black Hat SEO | | sanj50500 -
SEO for location outside major city
Hello, I'm hoping to get some opinions on optimising a site for a client based 30 minutes outside of Dublin. Obviously there is a higher search volume for "x in Dublin" than "x in small town". What do you think the best strategies are for incorporating the "Dublin" into keywords? For example is it OK to use phrases like "x near Dublin" or "x in Greater Dublin", or do you think this is a bit misleading? The client in question sells good online, so the customer wouldn't physically have to visit the store. Thanks!
White Hat / Black Hat SEO | | gcdtechnologies0 -
Huge diifference linking root domains in SEO MOZ and opensite explorer
Hi there, I have fairly large site that has never really been optimised. I think an old forum i hosted has either been spammed or my webmaster at the time used some black hat techniques to get me more root linking domains. I am a newbie and would really appreciate if someone could just quickly look at my donain and confirm that this is a problem and something i should fix before i start my SEO campaign. I am also worried this will negatively effect my domain authority. I dont really want to broadcast my domain so if anyoone would be so kind to confirm the problem so i cant start to research the answer. Thanks v much
White Hat / Black Hat SEO | | nimble0 -
Link Building using Badges
In light of penguin update, is link building using badges(like "I love SEOMOZ" badge) still considered a white hat tactic? I have read old posts on SEOMOZ blog about this topic and wondering if this method is still effective. Look forward to feedback from MOZers.
White Hat / Black Hat SEO | | Amjath0