How do I hide Affiliate Links to Improve my Quality Score

General discussions about AM (Affiliate Marketing) & CPA (Cost Per Action) Networks.

How do I hide Affiliate Links to Improve my Quality Score

Postby Loz on Sat Oct 06, 2007 6:12 pm

Question:

How do I hide Affiliate links to improve my quality score?

Answer:

Assuming your Web server is configured to handle PHP Language - which most are, all you need to do is this.

Open up your text editor and create this code:

Code: Select all
<?php
header ("location: http://www.affiliate-domain-name.com/product.php?aff=XXXX");
?>


Here's an explanation of the above code.
The affiliate-domain-name.com is quite self explanatory - it's the domain name of the site you are promoting.
the product.php is merely the file name they use that takes the visitor to the product/service in question.

The ?aff=XXXX is your affiliate ID.

So for instance you could have a clickbank affiliate link like this.

Code: Select all
http://yourusername.ownerusename.hop.clickbank.net


So your redirect code would look like this:

Code: Select all
<?php
header ("location: http://yourusername.ownerusename.hop.clickbank.net");
?>


The next thing we need to do is save this page - don't forget to just have this code in there and nothing else. Normally when you use HTML editors like Adobe Dreamweaver CS3 it creates some default code for you as you open up a new page. Delete that.

Now save that page, name it something useful, like. If the product was say Ipod. You could name it "apple-ipod.php"

On your page where you're promoting Apple Ipods locate the description text that says something like "Apple Nano Ipods" and link it up to the "apple-ipod.php" page.

When the user scrolls over the link, it will just show the location of that file and not your full affiliate link.

So the code could end up like this:
Code: Select all
<a href="apple-ipod.php" title="Apple Nano Ipods" rel="nofollow">Apple Nano Ipods</a>


Notice that I have placed the attribute of "title" in there, what this does is it creates a caption when someone hovers over the link, similar that of the ALT tag we use for images. :)

Also notice I have placed the "nofollow" attribute there, we don't want to assign a page rank to that page, or have the link followed by search engines. Well google and MSN do, but Yahoo doesn't. Any how, when the page is loaded, it's blank (as far as the search engine is concerned any way since there is no underline echo statements to output any text).

Create a new page for each affiliate link.
User avatar
Loz
Site Admin
Site Admin
 
Posts: 872
Joined: Wed Jun 20, 2007 6:28 am
Location: US

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron