How To Hide ClickBank Affiliate Links

September 8th, 2011 No comments

Here is how to hide ClickBank affiliate links in your posts to the web.

When you get your ClickBank affiliate link it is best to go for the encoded version. This looks something like: 3aa6b2rhnd05g83j35ob3kepfp.hop.clickbank.net/?tid=BLOG Here I have included a tracking code: BLOG This helps when viewing your reports to see where the conversion came from.

My method involves embedding links of the form: go/3aa6b2rhnd05g83j35ob3kepfp or replace “go” with whatever text you like. You can see that the encoded string from the hop link has been appended to the embedded link, so it looks like a link like you might find on a large e commerce site.

So when you create a link in say a blog post, insert a link in this format into your article text.

Now, to make this work, we need to add a line of code to our .htaccess file. You should have this file in the root of your website if you are on a Linux host and have set up SEO friendly URLs.

Here is the code for the .htaccess file:

RewriteEngine On
RewriteRule ^go/(.*)$ http://$1.hop.clickbank.net/?tid=BLOG [L,R=301]

“RewriteEngine On” is likely to be already in the .htaccess file, but it is a vital component to enable URL re-writing.

The next line does the magic to redirect clicks on our new links to ClickBank. In this line of code I have appended the tracking ID to the URL. And notice that I have added go/ as a prefix to match up with our links in the article text. You can change this to whatever text prefix you prefer to use.

Following the slash is a pattern-matching code which grabs the encoded string and adds it before the hop in place of $1 in the redirect link.

In the square brackets we have some directives to tell the server that this is the last .htaccess rule to evaluate if this one matches our URL link, and make the link a permanent redirect (301) to keep the affiliate companies happy (so that the keywords of the link will be associated with the final landing page – this is something eBay insist on).

It’s best to tag these affiliate links as no-follow since it may help with our on-page SEO. To do this I use a robots exclusion clause in my robots.txt file as follows:

User-agent: *
Disallow: go/

This tells any search engine spiders to not follow any links starting with go/ But adjust this to suit whatever file path and prefix you are using with your affiliate redirect links.

Hopefully this guide to how to hide ClickBank affiliate links makes sense and helps you out. If you have any questions, please post a comment.

Post to Twitter

Categories: Code Tags:

Clearing a Backlog of Internet Marketing Ideas

September 5th, 2011 2 comments

If you are like me then I bet you have a backlog of Internet marketing ideas, and dormant domain names to go with them.

It is so frustrating to be reminded of these when the time renew the domain names comes up. Also, it’s a waste of money and a risk that one of the ideas may [...]

Categories: Strategy Tags:

High Converting Affiliate Site Webinar Replay

August 11th, 2011 No comments

Today, one of my static-content affiliate websites generated $18.55 in commission for a $185 sale while I was out cycling on my bike. I found out when I checked my e-mail after returning home.

This is the beauty of set and forget affiliate income, but it does take some up-front research into a profitable niche, setting up [...]

Categories: Conversion, Technique Tags:

Matrix Linker Plugin

August 4th, 2011 2 comments

I was really pleased to get my first public WordPress plugin accepted into the WordPress plugin repository. As you may guess from the title of this post, it’s called Matrix Linker.

What it does is to facilitate inter-linking between websites (not just blogs). If you know anything about the topic of search engine optimization, you will realize [...]

Categories: SEO Tags:

Strategy For Creating Profitable Sites

July 26th, 2011 No comments

Having built many websites, it’s become clear to me that the ones that succeed are the ones that I have a personal interest in the topic. This means that it is easy to create new original content, and stick with the site for the long haul as with this blog.

Compare this to a topic that you [...]

Categories: SEO, Strategy Tags:

Off-Page SEO And Link-Building

July 19th, 2011 2 comments

Ever since Google invented the Page Rank algorithm, off-page SEO and link-building has been one of the most important aspects of SEO. This is based on the premise that a link to your site is like a vote in favour of your site or page (in the case of a deep link).

Before SEO services came about [...]

Categories: SEO Tags:

Concrete5 Blog Block

June 1st, 2011 No comments

I was thinking about how to implement a blog with the Concrete5 CMS and came across a solution that although good, seemed to be going against the Concrete5 way of doing things.

This solution seemed to be trying to mimic WordPress with one custom block. If you want to mainly blog, then why not use WordPress? Or [...]

Categories: Code Tags:

Business Entity

May 29th, 2011 No comments

Hopefully I used the right work here? The point is that when you are in business, it is important to take steps to establish your business identity. In the most basic sense this will be to declare to your local authorities that you started up in business and are ready to pay National Insurance contributions, get [...]

Categories: Strategy Tags:

Causes Of WordPress White Screen Of Death

April 29th, 2011 3 comments

Here are some causes of the dreaded WordPress White Screen of Death and possible solutions:

The most common cause, in my experience is a PHP error in a plugin. Maybe one you are working on

This could be due to a duplicate function name. This may arise from re-including a file, where you should use the [...]

Categories: WordPress Tags:

Creating Inbound Links

March 18th, 2011 No comments

As many of you guys will know, a big part of the SEO equation is gaining inbound links to your site. For those not so familiar, the other factors are related to on-page factors and URL factors.

To be honest, I have always been lazy about creating inbound links to my sites, I never really enjoyed that [...]

Categories: Optimization Tags: