{"id":7109,"date":"2015-10-21T07:40:32","date_gmt":"2015-10-21T07:40:32","guid":{"rendered":"http:\/\/hostileblog.com\/?p=1269"},"modified":"2021-02-03T08:44:16","modified_gmt":"2021-02-03T13:44:16","slug":"manage-affiliate-links-wordpress","status":"publish","type":"post","link":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/","title":{"rendered":"Best way to manage affiliate links in WordPress without headaches"},"content":{"rendered":"\n

As a blogger, I’ve to use various strategies to earn money online<\/span>. I use Google<\/span> Adsense and many affiliate programs for the same.<\/p>\n\n\n\n

You don’t have to worry about ads delivered by Google<\/span>. The entire process is automated and handled to perfection.<\/p>\n\n\n\n

Managing affiliate links<\/span> can be a headache because you’ve to be careful while using them.<\/p>\n\n\n\n

If you link<\/span> them in your WordPress<\/span> posts in such a way that Google<\/span> can crawl them, your blog will be penalized. Matt Cutts (former webspam head at Google<\/span>) had revealed that Google<\/span> doesn’t like affiliate links<\/span>. Thus you should make them nofollow.<\/p>\n\n\n\n

If you don’t want to use nofollow links<\/span>, the best way to manage affiliate links<\/span> is to block them with the robots.txt file<\/a>.<\/p>\n\n\n\n

To do this, you should use the free Gocodes plugin<\/a>.<\/p>\n\n\n\n

\"gocodes<\/a><\/figure><\/div>\n\n\n\n

I’ve been using this plugin<\/span> since few months, and I like its features. GoCodes has a settings<\/span>\/configuration<\/span> page where the user<\/span> can manage affiliate links<\/span> easily. Read the below paragraphs to know how you can do the same.<\/p>\n\n\n\n

When you install<\/span> Gocodes, the first thing that you should do is choose a blocking URL<\/span> name like Go, track, recommend, etc and add it to the robots.txt file.<\/p>\n\n\n\n

For example, If I use the track code, I will update robots txt file with Disallow: \/track\/ line. Now every URL<\/span> containing the track code will be blocked, and crawlers will have to ignore it. You can use robots.txt tester tool to check the same.<\/p>\n\n\n\n

Now go to the Gocodes settings<\/span> page and enter the redirection key.<\/p>\n\n\n\n

For instance, if I want to add Bluehost<\/span> affiliate link<\/span>, I’ll enter Bluehost <\/a>so that my robots.txt blocked URL<\/span> will look like http:\/\/example.com\/track\/Bluehost.<\/p>\n\n\n\n

The last step is to check the number of times this redirect is used option. If you do this, this plugin<\/span> will record the number of occasions the affiliate link<\/span> has been clicked.<\/p>\n\n\n\n

Pretty Link Lite<\/a> and Thirsty Affiliates<\/a> are the best Gocode alternatives.  They have many features that you’ll not find in Gocodes.<\/p>\n\n\n\n

Please make sure that you go through Affiliate terms and conditions because some companies don’t allow users<\/span> to block links<\/span> or modify them. Don’t use the above strategy for eCommerce based affiliate programs, i.e., Amazon Associates<\/a>, Flipkart, eBay, etc.<\/p>\n\n\n\n

Conclusion<\/strong>: Managing many affiliate links<\/span> manually is a tough task.\u00a0The plugins<\/span> we’ve shared above solves this problem. They’re lightweight. They’ll not affect your blog’s performance. Try them out!<\/p>\n\n\n\n

Thanks to Diggity Marketing<\/a> for the image.<\/p>\n","protected":false},"excerpt":{"rendered":"

As a blogger, I’ve to use various strategies to earn money online. I use Google Adsense and many affiliate programs for the same. You don’t have to worry about ads delivered by Google. The entire process is automated and handled to perfection. Managing affiliate links can be a headache because you’ve to be careful while […]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[11413,7001],"post_series":[],"yoast_head":"\nBest way to manage affiliate links in WordPress without headaches - Ian Carnaghan<\/title>\n<meta name=\"description\" content=\"Learn how to manage affiliate links in WordPress content management without any headaches. We've shared the best free plugin for the same.. Check it out\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Best way to manage affiliate links in WordPress without headaches - Ian Carnaghan\" \/>\n<meta property=\"og:description\" content=\"Learn how to manage affiliate links in WordPress content management without any headaches. We've shared the best free plugin for the same.. Check it out\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Ian Carnaghan\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-21T07:40:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-03T13:44:16+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg\" \/>\n<meta name=\"author\" content=\"Pramod\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@icarnaghan\" \/>\n<meta name=\"twitter:site\" content=\"@icarnaghan\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pramod\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\"},\"author\":{\"name\":\"Pramod\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb\"},\"headline\":\"Best way to manage affiliate links in WordPress without headaches\",\"datePublished\":\"2015-10-21T07:40:32+00:00\",\"dateModified\":\"2021-02-03T13:44:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\"},\"wordCount\":436,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\"},\"image\":{\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg\",\"keywords\":[\"Affiliate\",\"Affiliate Programs\"],\"articleSection\":[\"Internet Marketing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\",\"url\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\",\"name\":\"Best way to manage affiliate links in WordPress without headaches - Ian Carnaghan\",\"isPartOf\":{\"@id\":\"https:\/\/www.carnaghan.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg\",\"datePublished\":\"2015-10-21T07:40:32+00:00\",\"dateModified\":\"2021-02-03T13:44:16+00:00\",\"description\":\"Learn how to manage affiliate links in WordPress content management without any headaches. We've shared the best free plugin for the same.. Check it out\",\"breadcrumb\":{\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg\",\"contentUrl\":\"https:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg\",\"width\":945,\"height\":467,\"caption\":\"gocodes - manage affiliate links wordpress 2015\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.carnaghan.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Best way to manage affiliate links in WordPress without headaches\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.carnaghan.com\/#website\",\"url\":\"https:\/\/www.carnaghan.com\/\",\"name\":\"Ian Carnaghan\",\"description\":\"Software Developer, Blogger, Educator\",\"publisher\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.carnaghan.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\",\"name\":\"Ian Carnaghan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g\",\"caption\":\"Ian Carnaghan\"},\"logo\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\"},\"description\":\"I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.\",\"sameAs\":[\"http:\/\/www.carnaghan.com\",\"https:\/\/x.com\/icarnaghan\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb\",\"name\":\"Pramod\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g\",\"caption\":\"Pramod\"},\"description\":\"My name is Pramod. I\u2019m a software developer (with good knowledge on PHP, JAVA \u2013 Android, JavaScript, CSS), blogger and online marketing professional. I\u2019ve 3 years of experience as a blogger and 2 years of full time experience as a software developer.\",\"url\":\"https:\/\/www.carnaghan.com\/author\/prhost78\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Best way to manage affiliate links in WordPress without headaches - Ian Carnaghan","description":"Learn how to manage affiliate links in WordPress content management without any headaches. We've shared the best free plugin for the same.. Check it out","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Best way to manage affiliate links in WordPress without headaches - Ian Carnaghan","og_description":"Learn how to manage affiliate links in WordPress content management without any headaches. We've shared the best free plugin for the same.. Check it out","og_url":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/","og_site_name":"Ian Carnaghan","article_published_time":"2015-10-21T07:40:32+00:00","article_modified_time":"2021-02-03T13:44:16+00:00","og_image":[{"url":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg"}],"author":"Pramod","twitter_card":"summary_large_image","twitter_creator":"@icarnaghan","twitter_site":"@icarnaghan","twitter_misc":{"Written by":"Pramod","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/"},"author":{"name":"Pramod","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb"},"headline":"Best way to manage affiliate links in WordPress without headaches","datePublished":"2015-10-21T07:40:32+00:00","dateModified":"2021-02-03T13:44:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/"},"wordCount":436,"commentCount":0,"publisher":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5"},"image":{"@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage"},"thumbnailUrl":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg","keywords":["Affiliate","Affiliate Programs"],"articleSection":["Internet Marketing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/","url":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/","name":"Best way to manage affiliate links in WordPress without headaches - Ian Carnaghan","isPartOf":{"@id":"https:\/\/www.carnaghan.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage"},"thumbnailUrl":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg","datePublished":"2015-10-21T07:40:32+00:00","dateModified":"2021-02-03T13:44:16+00:00","description":"Learn how to manage affiliate links in WordPress content management without any headaches. We've shared the best free plugin for the same.. Check it out","breadcrumb":{"@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#primaryimage","url":"https:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg","contentUrl":"https:\/\/www.carnaghan.com\/wp-content\/uploads\/2015\/10\/gocodes.jpg","width":945,"height":467,"caption":"gocodes - manage affiliate links wordpress 2015"},{"@type":"BreadcrumbList","@id":"https:\/\/www.carnaghan.com\/manage-affiliate-links-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.carnaghan.com\/"},{"@type":"ListItem","position":2,"name":"Best way to manage affiliate links in WordPress without headaches"}]},{"@type":"WebSite","@id":"https:\/\/www.carnaghan.com\/#website","url":"https:\/\/www.carnaghan.com\/","name":"Ian Carnaghan","description":"Software Developer, Blogger, Educator","publisher":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.carnaghan.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5","name":"Ian Carnaghan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g","caption":"Ian Carnaghan"},"logo":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/"},"description":"I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.","sameAs":["http:\/\/www.carnaghan.com","https:\/\/x.com\/icarnaghan"]},{"@type":"Person","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb","name":"Pramod","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g","caption":"Pramod"},"description":"My name is Pramod. I\u2019m a software developer (with good knowledge on PHP, JAVA \u2013 Android, JavaScript, CSS), blogger and online marketing professional. I\u2019ve 3 years of experience as a blogger and 2 years of full time experience as a software developer.","url":"https:\/\/www.carnaghan.com\/author\/prhost78\/"}]}},"views":66,"_links":{"self":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/posts\/7109"}],"collection":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/comments?post=7109"}],"version-history":[{"count":0,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/posts\/7109\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/media?parent=7109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/categories?post=7109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/tags?post=7109"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/post_series?post=7109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}