beginnersbook.com

  • Home
  • All Tutorials
    • Learn Servlet
    • Learn JSP
    • Learn JSTL
    • Learn C
    • Learn C++
    • Learn MongoDB
    • Learn XML
    • Learn Python
    • Learn Perl
    • Learn Kotlin
  • Core Java
  • OOPs
  • Collections
  • Java I/O
  • JSON
  • DBMS

How to cloak affiliate links

By Chaitanya Singh | Filed Under: On Page SEO, WordPress plugins

Oh my God!! Google algorithm changes are not letting me earn money :D. Yeah, I’m talking about affiliate links. You must be aware that too many affiliate links can badly impact your search engine ranking. Sometimes even worse, if that link is considered as a paid link then oops! traffic gone! ya, I am not kidding it happened with many of the big sites. So my question is Do I need to stop affiliate marketing?? Off course No. Just because search engine doesn’t like it, we cannot stop doing that. Is there any way to save our website from being penalize? yes, that’s why I am sharing this post. Here, we will see how to cloak affiliate links to avoid any penalty. Cloaking not only saves you from search engine bot, it even changes your ugly affiliate link to a awesome link. User would more likely to click on such links.

Cloaking or hiding

Cloak affiliate links using Gocodes wordpress plugin 

Step 1: Download the plugin from below link and install it.

Download link: Gocodes Plugin for hiding affiliate links.

Step 2: Go to settings >> Gocodes, as shown in the below snapshot.

Cloak affiliate links, Gocodes wordpress plugin

Now! You would find two things there.

URL trigger: Give any keyword here such as loves, recommend etc.. By default it’s “Go”

Nofollow Gocodes: Check this box for obvious reasons. Hope no explanation required here :D.

Step 3: Go to Tools>> Gocodes, as shown in below screenshot.

Gocodes settings

Step 4:

  1. Redirection key: Use your keyword, for example you are promoting Gocodes plugin so you can give Gocode.
  2. Target URL: Give your affiliate link here.
  3. Count hits checkbox: Check it to keep the count of hits on your cloaked affiliate link
  4. Click on add Redirect.
  5. your cloaked link would be like – http://your-domain-name/go/(redirection keyword)

Add redirect to cloak affiliate links

That’s it, you are done with  it.

The SEOPressor version 5 also has a auto interlink feature for affiliate links, it cloaks the affiliate links and auto interlink your specified keywords with cloaked links.

Mark All cloaked links Nofollow

Once you are done with above steps, you would be having your pretty affiliate link. You can now promote this link using anywhere in your webpages. But remember, in order to hide them completely from search engine bots,you need to nofollow them. Just add rel"nofollow" in the link.

Bulletproof protection from search engine bots: Update robots.txt file

If you have added nofollow to your cloaked link then crwaler wouldn’t follow it and you are safe. But to be safer side you can permanetly block your affiliate links to be followed by search engine bots. This would be useful if you forget to mark your affiliate links as nofollow.

By default URL trigger is “go” so  you need to add below line in your robots.txt file

Disallow: /go/

Suppose you have done some changes in URL trigger then use changed keyword instead of go. e.g. if your redirect key is “recommend” then you may need to below statement in robots.txt file of your domain.

Disallow: /recommend/

Hope you liked the article. Please let me know if you have any questions about “how to cloak affiliate links”, I would love to help you out :)

Image courtesy of Stuart Miles at FreeDigitalPhotos.net

Enjoyed this post? Try these related posts

  1. How to Add Facebook Comments to WordPress
  2. How to Display Related posts with thumbnails in WordPress without any plugin
  3. Broken link checker wordpress plugin – Search engine optimization
  4. How to speed up website: Is website loading speed matters??
  5. W3 total cache plugin settings to speed up website
  6. Alternatives to W3TC (W3 total cache) plugin

Comments

  1. mrlearnalot says

    June 4, 2013 at 9:38 AM

    thanks- nice advice, you really break it down so we can understand please continue to update us, we need someone like you to give us the info we need!! thank you angain.

    Reply
  2. inquirer says

    August 16, 2014 at 3:09 PM

    Thanks for the breakdown.
    Just one thing I’m confused about- I am using your advised GoCodes plugin, and it masks my links just fine. However when I click on the masked link, the URL in my browser still shows my original affiliate link with ID. Can hackers still steal my identity and commission dollars from here?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

SEO

  • Write SEO Articles
  • Open Graph Meta Tags
  • SEO Friendly Images
  • SEOPressor Review
  • Auto Interlink Posts

WordPress

  • Free plugins to add Open Graph Tags
  • Free plugins to add Captcha
  • Set thumbnails automatically
  • Display related Posts WP
  • Change Post excerpt length WP

Website

  • Add Facebook like button
  • Add Google plus button
  • Add Twitter button
  • Create Free Website on blogspot

Copyright © 2012 – 2021 BeginnersBook . Privacy Policy . Sitemap