Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
How do you find Affiliate Links on your site that have not been nofollowed?
-
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?
-
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
-
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!
-
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.
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
-
My affiliate links are being crawled by Google. Is this a bad thing? Also, should I add rel: nofollow to affiliate links?
Hi All, I have an issue on Google Search Console. It seems all my affiliate links are being crawled. Is this a bad thing? The reason I found out is that all but one link was flagged with a warming. It goes on to say that it was blocked by robots.txt. The strange thing is that I've not set any links to be blocked in robots.txt. Also, should affiliate links be nofollow? I'm asking because I was recently sent this article by Yoast on how to properly cloak my affiliate links without using a plugin. https://yoast.com/cloak-affiliate-links/ In the method, they apply the nofollow and noindex rules to the links. I'm just a little confused on how to go about affiliate links the SEO friendly way.
Affiliate Marketing | | nomad_blogger0 -
Sneaky redirect happening on my wordpress site.
On my site, gosandiego.com I have a couple links at the top which directly link to another site. However, I noticed that when I click on the link, it seems to go to another site for a few milliseconds before being redirected to the correct destination. It took a little while but I was able to take a screenshot of the sneaky redirect. It starts awin1.com/awclick.php... I am fairly sure that awin1.com belongs to Affiliate Window, an affiliate marketing company much like Commission Junction but smaller. I just had someone email about my site and said the link redirected on him too but his browser got sent to viglink.com I was wondering, Has someone hijacked my site or has someone hijacked my browser or is it something else? Thanks 0LBwUoc
Affiliate Marketing | | EdKim0 -
How to setup affiliate marketing for my website?
I work for an ecommerce company and would like to setup some sort of affiliate marketing similar to Amazon. 1. If someone was referred to our site and they made a purchase we would pay out. 2. If we referred a user to someone else's page and they made a purchase we would get paid. I looked into http://www.commissionfactory.com/ but wasn't sure if that would meet my needs. Does anyone have any recommendations?
Affiliate Marketing | | EcommerceSite0 -
Affiliate Programs
Hi, I am wondering what if any affiliate management applications are being used out there. Anyone using Shareasale... I am looking into them.
Affiliate Marketing | | unikey0 -
Affiliate program links
Hello, I've question regarding affiliate partner generated links.Company www.example.com has a affiliate program. Partner www.example2.com links to the company site with affiliate link www.example.com/?affid=xxxx in banner, article etc. As I understand these type of links could hurt our Company site, so I asked partners to use rel="nofollow" in all links where they link to us usign ?affid=xxxx in url. To be 100% sure that I did the right thing I decided to post here my question. Could these type of links hurt our Company site? Regards,
Affiliate Marketing | | juris_l
Juris0 -
Affiliate URLs Indexed in Google
We have an active in-house affiliate program which has a create-a-link function where affiliate, as in most affiliate programs, can build links back to our content to produce sales. The problem that I am seeing is that some of the affiliate URL versions are being indexed in Google rather than the original page. For instance.. http://www.ourdomain.com/page_start.aspx?affnum=F025212&Start_Page=RaceCar&referrer=createlink is outranking... http://www.ourdomain.com/racecar This presents 2 issues for us. First, this presents duplicate content issues obviously. Second, we pay our affiliates a portion of the sales so, in order to maximize profitability, we'd like the indexed pages to be the original version. What's the best way to handle this? I want to make sure that affiliates continue to get credit for links from their sites but search engine links should go to the original versions.
Affiliate Marketing | | ATIseo0 -
Merchant´s data feed for affiliates is the same content as their own website...
Hi Some advice appreciated. Started working on a site and found out that they are giving their unique content to their affiliates (an XML feed so appearing on another domain). In this case, if they want to provide the data like that, how can we protect ourselves? Should we use author tags in our html, is that necessary? Is there any fix other than "stop doing that and give them different content"? Thanks
Affiliate Marketing | | xoffie0 -
How much link juice passes through urls with affiliate id's?
hi we can get a valuable link with the desired anchor text from a news site. the destination url would be something like www.site.com/product. but in order to track conversions, our sales team would like to add an affiliate id to the url, so that it would look like this: www.site.com/product?sess_affiliate=ta how much link juice would a link to this affiliate url pass? would we be shooting our wad by linking to the ?sess-URL instead of the original URL?
Affiliate Marketing | | zeepartner0