ShoutMeLoud – Shouters Who Inspire

≡ Menu

Gocodes WordPress Plugin: Affiliate Link Cloaker Plugin for WordPress

Gocodes WordPress Plugin: Affiliate Link Cloaker Plugin for WordPress

WordPress offers many ways by which we can hide our affiliate links and make them look pretty. In this post I will talk about one such WordPress plugin call “Gocodes WordPress plugin” which will help you to hide and keep a track of no. of clicks on your affiliate link.

Few days back I told you guys that I have taken blogging as full time profession. So I had to make sure,  I have to make more money now and more over I have to remove my dependency from Adsense to multiple advertising network. With time, I have learned, Affiliate marketing is one of the best way to make money via Blogging and more over if you understand  how affiliate marketing works, you can make more money with Affiliate programs.

Usually affiliate links look pretty ugly, For bloggers such affiliate links are normal, but for newbie’s or non techy people such links look like spam.  So I was searching for any free   WordPress plugin which will help me to hide my affiliate links, without editing .htaccess.

There are many tutorials which describe how anyone can hack .htaccess to edit affiliate link. Luckily I got my hands on easiest and simple Wp plugin.  GoCodes wordpress plugins, is simple wordpress plugin which hide your affiliate link and make them look like a simple link.

How to use Gocodes WordPress plugin?

There are two main reasons, I recommend this plugin

  1. Make ugly affiliate links look pretty
  2. Helps in maintaining SEO of your site
Now, if you are using affiliate links directly on your blog, it’s time for you to shift to this plugin and make the most out of it. Below, I have shared how to use Gocodes plugin and if you get stuck or have any question in configuring Gocodes, do let me know.
  • Download the plugin
  • Unzip and upload the wordpress plugin to your wordpress plugins folder
  • Activate the plugin from plugin folder under wordpress plugin option. (How to Install WordPress Plugin)
  • Navigate to Settings >Gocodes Settings and change the default /go/ code to some thing like recommended.
You can use any URL trigger, but always use such words like (Recommended, Offer), which makes your link look better.
Gocodes WordPress Plugin

Gocodes WordPress Plugin setting

Make sure nofollow box is checked. Nofollow tag will stop passing on the link juice to your affiliate links. I also recommend you to edit your WordPress robots.txt file and add your “URL trigger“, as disallow.

Remember, too many affiliate links can bring negative search engine impact, but Gocodes WordPress plugin makes this easy, as your links will be under your domain and with default Nofollow attributes.

Now, this was set up part. And now lets see how we can convert links into Gocodes link:

Under your WordPress dashboard,  Navigate to Tools> Gocodes

Add Gocodes

Final output :

There is an option in Gocodes WordPress plugin, which let you count hits on your affiliate cloaked URL’s. By default, check box is not checked so you have to check it manually every time you create a link. Monitoring your link stats, will help you to analyze the effective-ness of your promotion. Here is a video tutorial to learn using Gocodes plugin:

If you are using SEO smart link, you can make it very effective by setting up auto linking feature. Though, I won’t recommend it so much, as it may give bad user experience. Anyways, I have been using this plugin to cloak affiliate links and make them look pretty. And so far, in free segment this is one of the best plugin for link cloaking.One feature which I always missed in Gocodes plugin is feature to import and export cloaked affiliate URL’s. This will be handy for bloggers like me who have multiple blogs running Gocodes plugin.

Do let us know which WordPress plugin do you use to cloak your affiliate URL? Have you used Gocodes WordPress plugin? Would you recommend it to other WordPress users?

Print Friendly
  • Author Bio

  • Latest Post

Article by Harsh Agrawal

Harsh has written 1046 articles.

If you like This post, you can follow ShoutMeLoud on Twitter. Subscribe to ShoutMeLoud feed via RSS or EMAIL to receive instant updates.

{ 27 comments… add one }

  • Jenni

    Great post! It’s another learning method about WordPress Plugins to Cloak Affiliate Links. This is very helpful and useful for the bloggers. I learned and many great ideas here. Thanks for sharing this…!!

  • vinodh

    Thanks for this article and the gocode plugin.
    I thought that the go redirection is a paid plugin.

  • Lalit Sharma

    Thanks Harsh for sharing such a nice plugin to hide affiliate links. Well, I will surely give it a try for my blog :)

  • bigyan

    hi harsh. tnx for kind information. reading this post i also installed the gocode plugins and did according to this posts nut either i got confused or was unable to do what exactly we should do with this plugin. could you suggest me more please

  • Maneksh

    Hay affiliated links shows 404 error. I think this is because of WP Super Cache plugin. But i have deactivate this plugin still it shows 404 pages

    • Harsh Agrawal

      There must be some conflict with other plugin else I have never seen such issue. Have you resolved the issue? Could you please come back and share the solution with others.

  • Subbareddy

    Nice information for bloggers like me and i am in found of this websites but reading all these interesting stuff ,I will shout loud i can make money from my blog in future


  • Akshay Sapkal


    I have also heard of the Pretty Link a link cloacker plugin for WP. So can you suggest which one is better…Pretty link or the Gocodes.

    Also how do we make the affiliate link look good through this plugin…?

  • Salam

    Thanks for sharing this info, i was really looking for this kind of tool to make the affliate link more beautiful.

    Once again Thanks.


  • Srjtech

    This plugin hasn’t been updated for over 2 years. Do you have any better one which tracks clicks?

  • Chandramani Bharti

    But this plugin no more work now :(
    Any alternatives ?

    • Harsh Agrawal

      It’s working fine for me with latest version of WordPress. (3.6.1)

  • Amandeep Singh

    Hi Harsh,

    I started using GoCodes on one of my blogs but even after selecting the check-box for Nofollow in the settings, I don’t see this attribute added to my aff. links… can you please help me with this?

    • Harsh Agrawal

      @Amandeep in that case you can take help of robots.txt. I use /recommend/ , and added it in Robots.txt. Not the best method, but still workable.

      • Amandeep Singh

        Thanks for your reply, Harsh. I am already using this as well in robots.txt (I use /ref/ key)

        Bit weird but in any case, Gocodes should be adding nofollow attribute, right – what could be causing this issue? Now, the issue is, even after trying both these things today I did a quick search in Google and found my affiliate links are indexed in Google…! What would you suggest apart from this – should I remove these manually from Webmaster tools?


        • Harsh Agrawal

          If you have stopped crawling of /ref/ from robots.txt, you can go to Webmaster tool > URL removal tool
          and use and remove the directory instead of individual link to get rid of such indexed links.

  • Manish Jain

    Hi Harsh
    I have tried this Plugin but Its not working in my WP site. I don’t Know why?


    • Harsh Agrawal

      Hi Manish
      What problem are you facing?
      Are you able to generate shortcode for your aff URL:
      Like ?
      Let me know where are you stuck and I will give you a helping hand..

      • Manish Jain

        Thank you for your reply harsh here is my problem
        Well when I am trying to cloak my link using gocodes plugin I am getting the message 404 errror

        • Harsh Agrawal

          Manish can you show me example of one such cloaked link?
          Will be helpful for me to diagnose the problem.

  • Rajib Kumar

    I think Gocodes is one of the most valuable plugin on wp. I am also using this. Thanks for share.

  • Avi Jit

    Looks like a great plugin. The thing that I like about this plugin is that it tells the no. of hits.

  • Shalu Sharma

    Gocodes is a good wordpress plugin. I had not heard of this plugin before but seems like it can do without paying for a cloaker. Thanks for this information.

  • Amit Shaw

    I have just installed Redirection Plugin for Affiliate. But its sounds cool. And simple too.
    BTW is it necessary to Deindex a affiliate link?

    • Anand

      It will be good to deindex such links. But no search engines will index a 301 redirected url. nofollow is essential.

  • Michael Aulia

    I’ve been using this for a while and totally love it :) Although I regret that after the visitor gets forwarded, the actual URL is shown on the browser lol


Leave a Comment