How to Hide Affiliate Link

Subscribe OR
Sign up to receive breaking news
as well as receive other site updates!

Hide affiliate links helps you to make more sales in your affiliate program. Why you need to hide your affiliate links ? If your link looks like an affiliate link such as www.youraffiliateproductpage/ref=123456, some your visitors may not click on your link or they only use straight link to the main URL of the link. Here some tips how to cloak or hide your affiliate link:

Hide affiliate links using php script to make redirection

Method 1

<html>
<head>
<title>Please wait! Loading …</title>
<meta http-equiv=”refresh” content=”1;URL=http://YourAffiliateLinkHere.com
<script>
url=’http://YourAffiliateLinkHere.com;
if(document.images) { top.location.replace(url); }
else { top.location.href=url; }
</script>
</head>
<body>Please wait! Loading …..
</body>
</html>

You can change 1 with 2 or 3 that mean how long (in second) your page make redirection to your affiliate site after your page load.

Method 2

<?php header(“location: http:// www .YourAffiliateLinkHere”); ?>

Create one php file with this code and rename it anything you like for example cheapjewelry.php and upload it to your root folder into your site using ftp software. So your affiliate link like this:

http://YourWebsite.com/cheapjewelry.php

Hide affiliate links using a zero-frame code

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”><head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>YourAffiliateTitle</title>
<META name=”robots” content=”noindex,nofollow”>
</head><frameset rows=”100%,*” border=”0″>
<frame src=”http:// www .YourAffiliateLinkHere” frameborder=”0″ />
<frame frameborder=”0″ noresize />
</frameset> document.removeEventListener(‘click, clickHandler, true);
</html>

Hide affiliate links using htaccess

This technique easy to do just adding this code into your htaccess file.

redirect 301 /YourAffiliateName http://YourAffiliateLink

For example add this code to your htaccess file:

redirect 301 /seobook http://www.seobook.com/1528.html

Your affiliate in your website look like this:

http://MyWebsiteName/seobook

Hide affiliate links using javascript
The code sends the browser into your affiliate website.

<script type=”text/javascript”>window.location=”http:// www .YourAffiliateLinkHere”;</script>

Hide affiliate link using html

<html>
<head>
<title>YourAffiliateProductName</title>
<meta http-equiv=”refresh” content=”0;url=http://YourAffiliateLinkHere”>
</head>
<body>
<p>
Redirecting, please wait or click here:<br />
<a href=”http://YourAffiliateLinkHere”>YourAffiliateProductName</a>
</p>
</body>
</html>

Affiliate link generator freeware

Third party affiliate link cloaker services/Short URL Redirection Services

Affiliate Link Cloaker Tool Online

Hide affiliate links using Wordpress affiliate plugin

  • wp affiliate pro – Instantly Identify, Manage & Track Your Highest Performing Affiliate Links
  • seoadventures wp affiliate – Easy affiliate link masking and more
  • wp affiliate elite – A Powerful WordPress Plug-in that Allows You to Convert Any Keyword in Your Blog to an Affiliate Link with Only a Single Mouse Click!

Affiliate Marketing Guides RECOMMEND:

  • Commision blueprint – Affiliate Strategy Manipulates Google To Generate $109,151 In 30 Days.
  • Affiliate classroom – Take your affiliate marketing business to the next level
  • Ebook compiler – Create Your Own E-Books Today! Free Trial Download
  • superaffiliatehandbook – Read the amazing true story of how one woman, with no previous business experience make money online
Search Marketing

Related Posts

  1. Easy to make redirect your webpage or blog
  2. Link Building Strategies
  3. Hide file behind a image
  4. Online Affiliate Marketing
  5. So Many Affiliate Programs

What People Say

3 Responses to “How to Hide Affiliate Link”
  1. John says:

    You can also try to use http://shoxt.com – it is simple and free url forwarding and masking service

  2. Devalova says:

    You can use http://www.co.cc that have facility to forward and hiding your real URL.And it’s totally FREE!!

  3. Ben says:

    I just heard that WP Affiliate Elite is under $10 for Christmas! Check it out:
    http://www.wpaffiliateelite.com

Do You Have Any Comment About This? Tell us what you're thinking...
and oh, if you want a pic to show with your review, go get a gravatar!

Get Adobe Flash playerPlugin by wpburn.com wordpress themes