Hide and Protect Affiliate Links

2
730,266 views
Affiliate Marketing
Affiliate Marketing

There are several reasons why to hide Affiliate Links:

* Visitors get smarter and start to recognize links and some of them can
change affiliate code with his own and take original affiliates credit away;
* There are AdWares and browser plug-ins that can do just the same
without letting the visitor to know;
* Hiding links from search engines – they don’t like redirects by the nature;

Using one or more of these solutions will seriously improve CTR, commissions and search engine rankings.

Hide links using PHP:

This one involves server side scripting. Most hosting servers do support PHP. It is easy to implement with copy and paste.

In this example code will be saved under file-name of visitsizegenetics.php

<?
header (“location: http://track.lativio.com/hit.php?w=10xxxx&p=2&s=24”);
?>

After that – uploaded to web server (this will work only on web server).

And in HTML code it looks like the following:

<a href=”visitsizegenetics.php”>Visit SizeGenetics</a>

Visitors will be redirected immediately to SizeGenetics website once the link is clicked.

* Advantages: Visitors and AdWares cannot see the URL anymore as it is hidden in the PHP file.
* Disadvantages: It requires having PHP and also creating separate file for every product is necessary (advanced users can program it all in one place).

How to hide links using Apache server and .htaccess:

It is necessary to create or edit the existing .htaccess file. Usually it is located in public_html folder on web server. Any solid FTP program will allow working with these files easily.

It is required to add the following lines and the upload .htaccess file back to server:

Redirect /visitpenishealth http://track.lativio.com/hit.php?w=xxxxxx&s=5&p=2
Redirect /visitsizegenetics http://track.lativio.com/hit.php?w=xxxxxx&s=24&p=2

Now when your surfer accesses a URL like www.mysite.com/visitpenishealth they will be redirected to http://track.lativio.com/hit.php?w=xxxxxx&s=5&p=2

In HTML the link code looks as following:

<a href=”/visitpenishealth”> Visit PenisHealth</a>

And that’s it.

* Advantages: Stores link codes in one place. No need to create separate file for each affiliate or product link.
* Disadvantages: Require basic technical knowledge on how to access .htaccess file. Also some hosting providers might not show them or have them in read only mode.

And of course – there’s a chance to mess up current .htaccess settings! Always make backups!

That’s it. This will hide all your affiliate links on the website. Engines are happy; visitors don’t suspect anything and at last part of AdWares won’t be able to change your affiliate codes.

This is not of every solution. There are a few more like using classic frames or iframes as well as setting up your own domain with frames for each product. But usually that is not necessary.

The drawback with frames is that they were and are used often for black hat techniques and search engine spam and engines might not like them. Please, be careful!

Related Posts Plugin for WordPress, Blogger...

Incoming search terms:

2 COMMENTS

  1. Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your website? My website is in the exact same niche as yours and my users would genuinely benefit from a lot of the information you provide here. Please let me know if this okay with you. Thank you!

  2. I just like the valuable information you provide in your articles. I’ll bookmark your blog and check once more here regularly. I’m somewhat sure I will learn lots of new stuff proper here! Best of luck for the following!

Comments are closed.