The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Weird href - is it still a follow link?

    Weird href - is it still a follow link?

    Technical SEO Issues
    3 3 312
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BlueLinkERP
      BlueLinkERP last edited by

      On many publication sites I have noticed weird links like I have never seen before

      <a <="" span="">href="http://test.com" onclick="linkClick(this.href)">Test</a>

      Are these still follow links? Is the only thing that determines a no follow link "rel=nofollow"? So as long as the link doesn't have that, it's good to go?

      Why might they have used a link like this? For tracking?

      1 Reply Last reply Reply Quote 0
      • irvingw
        irvingw last edited by

        It's an onclick event handler that redirects the URL when a user clicks on it but the search engine just follow the link regularly since javascript is not enabled. it is a dofollow link. PR sites use it often

        1 Reply Last reply Reply Quote 1
        • RBenedict
          RBenedict last edited by

          Yes. It does not contain a nofollow-directive, so it'll work out.

          The onclick-eventhandler is used for linktracking. Users who have javascript disabled and search engines get a "real" link, while users who have javascript enabled will run the linkClick-function (which will probably ping the server or run a script that will redirect to the url).

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Do you still loose 15% of value of inbound links when you redirect your site from http to https (so all inbound links to http are being redirected to https version)?
            LoganRay
            LoganRay
            0
            5
            74

          • On our site by mistake some wrong links were entered and google crawled them. We have fixed those links. But they still show up in Not Found Errors. Should we just mark them as fixed? Or what is the best way to deal with them?
            GlobeRunner
            GlobeRunner
            0
            3
            177

          • Can I redirect a link even if the link is still on the site
            RosemarieReed
            RosemarieReed
            0
            6
            156

          • Are links still considered reciprocal if the link from one website is rel="nofollow" and the other isnt ?
            MattRoney
            MattRoney
            1
            5
            226

          • Links below linking (not sitelinks)
            Joseph-Vodafone
            Joseph-Vodafone
            0
            3
            127

          • Followed Linking Root Domains and No Followed Linking Domains
            TomRayner
            TomRayner
            0
            2
            540

          • Pinterist links no follow or followed?
            Danapollo
            Danapollo
            0
            5
            453

          • If you add a no follow to a time sensitive link, will it get picked up as broken link 404 in WMT report?
            RyanKent
            RyanKent
            0
            2
            718

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy