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
-
Inbound links with malicious anchor text. Negative seo attack
Hi, What to do with more than 300 links with a malicious anchor text that has nothing to do with my content. I am disavowing those links for the last 5 years. Some of them are directed to URLs that have been changed more than 8 years ago. How can I block this malicious behavior? Thanks in advance
White Hat / Black Hat SEO | | Arlinaite470 -
What sort of knowledge differentiates a good SEO from a great SEO?
This is definitely more of a discussion than a clear cut answer.
White Hat / Black Hat SEO | | Edward_Sturm0 -
Am I over "Optimising My Site" or following "Best Practice"
Hi We're developing our site an wanted to ask if we are "over optimising" or following best practice. Maybe you have some recommendations. I've provided 4 examples below. Eventually we'll use Moz on page grader but as a new start up, I'd appreciate your help. Thank you, Faye. 1. URL: http://www.thewoodgalleries.co.uk/engineered-wood/browns/cipressa/ PAGE TITLE: Cipressa | Engineered Brown Wood | The Wood Galleries H1: Cipressa – Engineered Brown Wood KEYWORD: Engineered Brown Wood META: Buy Cipressa Brown Engineered Wood, available at The Wood Galleries, London. Provides an Exceptional Foundation for Elegant Décor & Extravagant Furnishings. IMAGE TAG: Brown Engineered Flooring KEYWORD IN BODY CONTENT: YES (1) 2. URL: http://www.thewoodgalleries.co.uk/engineered-wood/beiges/mauro/ H1: Mauro | Beige Engineered Wood | The Wood Galleries PAGE TITLE: Mauro – Beige Engineered Wood KEYWORD: Beige Engineered Wood META: Buy Mauro Beige Engineered Wood Flooring, available at The Wood Galleries, London. Designed to deliver Rich, Dark Undertones with Light hues of Muted Brown. IMG TAG: Beige Wood Flooring KEYWORD IN BODY CONTENT: YES (2) **3. URL: http://www.thewoodgalleries.co.uk/engineered-wood/beiges/vela-oak/ ** H1: Vela – Beige Engineered Oak PAGE TITLE: Vela | Beige Engineered Oak | The Wood Galleries KEYWORD: Beige Engineered Oak META: Buy Vela Beige Engineered Oak Wood, available at The Wood Galleries, London. Crafted from the most widely respected hardwoods in the world. IMG TAG: Engineered Oak Flooring KEYWORD IN BODY CONTENT: YES (1) 4. URL: http://www.thewoodgalleries.co.uk/engineered-wood/darks-blacks/ciro-rustic/ H1: Ciro – Engineered Rustic Wood PAGE TITLE: Ciro | Engineered Rustic Wood | The Wood Galleries KEYWORD: Engineered Rustic Wood META: Buy Ciro Engineered Rustic Wood, at The Wood Galleries, London. Its stylishly classic oak look exudes a sense of luxury that is simply undeniable. IMG TAG: Dark Wood Flooring, The Wood Galleries KEY WORD IN BODY CONTENT: YES (2)
White Hat / Black Hat SEO | | Faye2340 -
Is horizontal hashtag linking between 4 different information text pages with a canonical tag to the URL with no hashtag, a White Hat SEO practice?
Hey guys, I need help. hope it is a simple question : if I have horizontal 4 text pages which you move between through hashtag links, while staying on the same page in user experience, can I canonical tag the URL free of hashtags as the canonical page URL ? is this white hat acceptable practice? and will this help "Adding the Value", search queries, and therefore rank power to the canonical URL in this case? hoping for your answers. Best Regards, and thanks in advance!
White Hat / Black Hat SEO | | Muhammad_Jabali0 -
Someone has built low quality links to my site - what should I do?
Hey guys, I was wondering whether you could offer me some help on something. One of the site's I'm working on has a blog attached to it and we sometimes accept guest posts from authors. A month or so back we published a blog that has been attracting a number of low-quality backlinks. Having looked into the matter further, it turned out that the client who had created the guest post was doing something called "tiered link building" and was building crappy links to their guest post content on other websites. I have subsequently deleted the blog post in question - will this devalue/cancel out the inbound links pointing to the original URL? Or do I need to do something extra? Disavow even? Comments appreciated!
White Hat / Black Hat SEO | | Webrevolve0 -
Cross-Site Links with different Country Code Domains
I have a question with the penguin update. I know they are really cracking down on "spam" links. I know that they are wanting you to shift from linking keywords to the brand name, unless it makes sense in a sentence. We have five sites for one company in the header they have little flag images, that link to different country domains. These domains all have relatively the same domain name besides the country code. My question is, linking these sites back and fourth to each other in this way, does it hurt you in penguin? I know they are wanting you to push your identity but does this cross-site scheme hurt you? In the header of these sites we have something like this. I am assuming the best strategy would probably be to treat them like separate entities. Or, just focus on one domain. They also have some sites that have links in the footer but they are set up like:
White Hat / Black Hat SEO | | AlliedComputer
For product visit Domain.com Should nofollows be added on these footer links as well? I am not sure if penguin finds them spammy too.0 -
Purchasing Expired Domains for SEO Value?
While doing competitive research for a client I have stumbled on a "site developed by" footer link for a fairly established business that points to an expired domain. I'm inclined to notify the business in question that the link is expired BUT I was curious to get some thoughts on if purchasing this domain and redirecting it to my site or another would be a good purely "SEO tactic" as it would seemingly pass "juice"??? Thanks, Dave
White Hat / Black Hat SEO | | DavidGadarian0 -
What to do about "Penguin" penalties?
What are your suggestions about moving forward with sites hit by the "Penguin" penalties? Wait it out and see if the penalty goes away Try to remove spammy backlinks and resubmit (is this worth the time and effort) Build quality backlinks to offset (will this even work if they have thousands of spammy links) Blog more (I think this is probably a no brainer) Scrap the site and start from scratch (This is last resort and don't want to do this if at all possible) Or any other ideas are greatly appreciated
White Hat / Black Hat SEO | | RonMedlin0