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. Affiliate Marketing
    4. How do you find Affiliate Links on your site that have not been nofollowed?

    How do you find Affiliate Links on your site that have not been nofollowed?

    Affiliate Marketing
    4 4 225
    • 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.
    • Zippy-Bungle
      Zippy-Bungle last edited by

      We've just signed up to an affiliate scheme because we were sending links to them because we thought their product was valuable to our users. So we now have to go through and nofollow all of these links over 100's of pages.

      Is there any way that do a crawl of the site to identify all links to a particular site and tell me what page they are on and whether they are nofollow/follow?

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

        I am not sure if there is any link but I guess if you run screaming frog that will tell you how many of links that are going out contain follow and no follow tag but again for that you actually have to go URL by URL so this will not really going to cut any of your time.

        I would love to hear from any other person in the community who is either using this kind of tool or know this kind of tool exist.

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

          Hi there,

          There's a few options for this outside of Screaming Frog, but they depend on how your site is developed.

          My first thought would be to write a small script that looks for instances of this domain and checks if the link is nofollow, if not it inserts a nofollow tag. Depending on how your site is coded this could be risky, but I think you could do something nifty in PHP if you know the site and the language well. This is probably a quick-fix but not a massively sustainable solution as you'd be running a function each time - might get a bit laggy? It'd allow you to provide a quick-fix to the issue while you work on it separately, depending on how your site is developed.

          An alternative you could do, if you use a system such as Wordpress would be to Export an RSS feed of content and use Notepad++'s regex find and bookmarking to highlight all instances of this domain within your page content where you don't use nofollow and replace with nofollow versions. This is time consuming, but would work. Also relies on Notepad++ not dying due to the size of the RSS feed!

          Another alternative would be to use OSE and create an advanced report, which looks at only Follow links that come from your root domain and point to the affiliate domain in question. This method relies on Moz crawling your links and finding them - Might be tricky if those links are new.

          You could also use Xenu to find only external links pointing out to that domain from your website and go through them manually. But that's not much fun either.

          Hope there's something there that can be gleaned or used!

          1 Reply Last reply Reply Quote 1
          • Chris.Menke
            Chris.Menke last edited by

            Actually, screamingfrog should take care of it for you via the custom spider configuration.  If you select "custom" under the "configuration" tab, you can drop in the html for the links you are looking for and it will give you a report with what pages it finds that code on.

            For example, have screammingfrog search for the following snippet of code and it would find nofollow links pointing at mysite.com:

            rel="nofollow" href="http://mysite.com

            1 Reply Last reply Reply Quote 2
            • 1 / 1
            • First post
              Last post
            • I'm routating keywords to find my website and to get better ranking; I know i want to use the most keywords that are prevelant in my site; iss that the only keywords I want to use for ranking purposes; if not what keywords were do i find them?
              TheSymmetran
              TheSymmetran
              0
              2
              61

            • Find all affiliate links in a custom CMS
              MichaelC-15022
              MichaelC-15022
              0
              8
              232

            • Affiliate site
              mememax
              mememax
              0
              2
              115

            • Tweeting affiliate links...?
              Ant71
              Ant71
              0
              2
              177

            • Will giving a blogger an affiliate url to my site reduce her links' seo value to me?
              Brocberry
              Brocberry
              0
              6
              613

            • Affiliate code in urls? affiliate link landing pages?
              RankMover
              RankMover
              0
              3
              647

            • Does an affiliate link bring the same SEO juice as a standard link?
              maciek-
              maciek-
              0
              4
              987

            • Important question on affiliate links
              PeterAlexLeigh
              PeterAlexLeigh
              0
              4
              1.1k

            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