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. On-Page / Site Optimization
    4. No follow on class - is it correct?

    No follow on class - is it correct?

    On-Page / Site Optimization
    4 3 53
    • 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.
    • oceanstorm
      oceanstorm last edited by

      Quetstion,

      Due to some recent SEO issues on our website on an audit, we found that a potential risk could be all the semi-sitewide links derived from a buy now pay later provider's code in our source code.

      Our developer implemented Rel= no follow in the following context...   <p class="afterpay-paragraph" style="display:block; margin-top:0.3rem;" rel="nofollow"></p class="afterpay-paragraph" style="display:block;>

      Is what the developer has done, adding it as a class correct? and will it work correctly for SEO?  or should i tell the developer to go back and include the no follow code instead as    href="https://www.afterpay.com/terms" rel="nofollow">      and add the same to each external .png link too?

      | |
      |   | |
      |   | or make 4 interest-free payments of |
      |   | |
      |   | fortnightly with |
      |   | [https://www.afterpay.com/terms](<a class=)"> |
      |   | |
      |   | src="https://static.afterpay.com/integration/product-page/logo-afterpay-colour.png" |
      |   | srcset="https://static.afterpay.com/integration/product-page/logo-afterpay-colour.png 1x, https://static.afterpay.com/integration/product-page/logo-afterpay-colour@2x.png 2x, https://static.afterpay.com/integration/product-page/logo-afterpay-colour@3x.png 3x" |
      |   | width="100" height="21" alt="Afterpay"> |
      |   | More info |
      |   | |
      |   | |
      |   |   |

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

        Hi,

        Your developer hasn't added it as a class, he has added the attribute to the paragraph tag, however, it still isn't right.

        The "rel" attribute can only be used with a or link tags. It does not cascade down, i.e. you can't put it higher up to cover all child tags, which is what I think the developer is trying to do.

        As you've suggested, he needs to go back and change it.

        1 Reply Last reply Reply Quote 2
        • oceanstorm
          oceanstorm last edited by

          Thanks that is what i suspected. Very helpful, many thanks.

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Webs Pages not correct
              Chris661
              Chris661
              0
              2
              94

            • No index, or no index no follow?
              AuthorityLinkPartners
              AuthorityLinkPartners
              0
              3
              700

            • Follow or nofollow the social links?
              OrionGroup
              OrionGroup
              0
              2
              849

            • To Follow or Not To Follow...... ?
              APICDA
              APICDA
              0
              13
              353

            • To follow or not to follow...?
              Cyrus-Shepard
              Cyrus-Shepard
              0
              3
              169

            • No follow for html sitemap?
              mjtaylor
              mjtaylor
              0
              3
              805

            • Page Shaping - No Follow Links
              AlanMosley
              AlanMosley
              0
              6
              549

            • Follow or no follow?
              OptimizeSmart
              OptimizeSmart
              1
              9
              997

            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