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
          • Internal no follow links
            effectdigital
            effectdigital
            0
            4
            85

          • How can I stop a tracking link from being indexed while still passing link equity?
            UnbounceVan
            UnbounceVan
            0
            4
            579

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

          • No follow links on a blog
            rishil
            rishil
            0
            2
            70

          • 'No Follow' and 'Do Follow' links when using WordPress plugins
            Hermski
            Hermski
            0
            5
            1.3k

          • Should I no follow all external links?
            EGOL
            EGOL
            0
            7
            6.1k

          • Internal links - is div on click still no followed by google?
            JustinTaylor88
            JustinTaylor88
            0
            3
            562

          • IFRAME WIDGET - FOLLOWED LINKS
            waqid
            waqid
            0
            4
            747

          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