Gocodes WordPress Plugin: Affiliate Link Cloaker Plugin for WordPress

Update: Gocodes plugin is no more available in WordPress plugin repo. You can use ThirstyAffiliate which is the best or PreetyLinkPro.

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

  • Redirect Key: Name of the product or your own imaginative name
  • Example : ThirstyAffiliates
  • Target URL : URL on which the user will be redirected
  • Example :http://www.shoutmeloud.com/recommended/ThirstyAffiliates/

Final output : http://www.shoutmeloud.com/recommended/AddmeFast/

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?

Subscribe on Youtube

Article By
Harsh Agrawal is a blog scientist and a passionate blogger. He is blogging since 2008 & writes about Blogging, SEO, Make money online & tech. His blog, ShoutMeLoud receives 1 million Pageviews/month and have over 700K subscribers.


COMMENTs ( 30 )

  1. says

    Harsh, I had Go codes from an year ago. It’s still installed and is working. Do I have to uninstall and delete it because of the fact that it is removed from WP repo? Any bugs or vulnerabilities?
    If so, how could I export the stuff to another alternative plugin?


  2. rahul says

    I heard Matt Cutt saying any type of cloaking is against search engine. How could cloaking affiliate links is not against guidelines?

  3. Aatish says

    Hi Harsh. Thanks for all your help. I am following you and my website quality and speed has increased tremendously.

    For Gocodes plugin. I have affiliate network through third party affiliates (OMGPM, PAYOOM, CUELINKS etc). How to use these codes here and for Particular single website Aff like Flipkart.


  4. says

    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…!!

  5. vinodh says

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

  6. Lalit Sharma says

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

  7. bigyan says

    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

  8. Maneksh says

    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

    • says

      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.

  9. Subbareddy says

    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


  10. says


    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…?

  11. says

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

    Once again Thanks.


  12. Amandeep Singh says

    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?

      • Amandeep Singh says

        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?


        • says

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

  13. Manish Jain says

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


    • says

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

      • Manish Jain says

        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

  14. Rajib Kumar says

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

  15. Shalu Sharma says

    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.

  16. Amit Shaw says

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

    • says

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

  17. Michael Aulia says

    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