NICHE MARKETING | How to Hide Your Affiliate Links using a PHP or HTML Redirect

Affiliate Theme

How to Hide Your Affiliate Links using a PHP or HTML Redirect

February 9, 2009 by
Filed under: Make Money Online 

Using a PHP redirect or HTML refresh to hide your affiliate link is something you should get in the habit of using. A redirect that masks your affiliate link is extremely important when running an email marketing campaign and your sponsors usually request that you do so to prevent their links being marked as spam.

Here are the basics:

1. How to Setup a Domain Redirect
Example: http://mymassagecareer.info/

All you do after you purchase the domain is host it on your webhost and change it to redirect to a different URL. This will redirect to one URL and only one URL.

2. How to Setup a PHP Redirect
Example: http://usenet-tutorials.com/nichetitans.php

This is all the code you need:
<title>nichetitans</title>
<?php
header( ‘Location: http://nichetitans.com/how-to-hide-your-affiliate-links-using-php-or-html-redirects/’ ) ;
?>
This will redirect directly to the URL specified in (‘Location:http://domain.com/‘) and this is all the code you need in the .php file.  Literally copy and paste this code, change the URL and save as a .php. Once you’ve done that all you need to do is upload it to your web host and type in the URL as you created it, for example: hxxp://domain.com/nameofphpredirect.php

3. How to Setup a HTML Refresh Redirect
Example: http://googlegivesmecash.com/google-money-tree.html

<html> <head> <title>Google Money Tree</title> <META http-equiv=”refresh” content=”1;URL=http://www.adsjmp.com/track.asp?a=CD4613&b=14193&d=0&l=0&p=0&o=”> </head> <body bgcolor=”#ffffff”> <center> </center> </body> </html>

This is the exact code you need in the .HTML and the only code you need. Just copy and paste this code in to a new document, change the URL=http://domain.com/ and save it as a .HTML. Once you’ve done this all you need to do is upload the redirect to your webhost and type in the URL as it was created, for example: hxxp://domain.com/nameofredirect.html

These are the easiest ways to hide your affiliate links. So which one of these methods is the best? The answer is it really depends on what you’re using it for and what you need to accomplish.

1. Using a Domain Redirect
- This is best if you want something short and easy to remember.

2. Using a PHP Redirect
- This is best if you want to redirect to another page quickly without the target affiliate link showing up in the address bar like it may if you’re using an HTML refresh.

3. Using a HTML Redirect
- This method is best if you don’t want your affiliate sponsor to see where your traffic is coming from and can be quite effective in hiding your landing page. It basically pauses for the amount of time you specify and enters the exact URL in to the browser.

Easy and Effective – I hope this everyone hide their affiliate links if they aren’t hiding them already!

No related posts.

Want to be notified when we post
more Niche Marketing articles?
Subscribe via RSS Feed

or get free site updates by email:

Comments

11 Responses to “How to Hide Your Affiliate Links using a PHP or HTML Redirect”

  1. Sacramento Weddings says:

    Great stuff for all bloggers who use affiliate links!

  2. What about cloaking the URL? Is it frowned upon to do that? With Google adwords and promoting affiliate programs, it’s been challenging. Any recommendations?

    Thank you,
    Brad

  3. [...] more than to the team. The group picks up on their enthusiasm and catches fire, follow up with how to hide your affiliate links. I after asked a Colonel in the 82nd Airborne what was the primary trait that he looked for in [...]

  4. [...] customers aren’t seeing your one way links. . . Becuase they are, follow through with how to hide your affiliate links. . . But they are bloody ugly! And there fore not clicking them like you presume they are. . . They [...]

  5. [...] How To Make Dollars From Ebooks At this time   Leave a comment Thousands and thousands of folks go on the web just about every day, hunting to make funds but do not know in which to get started their lookup. The extra investigate you conduct the much more you will obtain the wonderful on the internet automation system the place you can start with little to no investment and get started to make income on the internet. A college student can make money online by completing provides from lots of firms that make available dollars incentives to entire, follow through with how to hide your affiliate links, an example would be how to hide your affiliate links. [...]

  6. [...] a copy of the deceased’s certificate of death to all credit accounts to close them, explore how to hide your affiliate links. 3- if you are using an accounting program on your personal computer, do not enter complete credit [...]

  7. [...] are searching for onyou’ll need is a video editing making software, an example would be how to hide your affiliate links. Windows xp comes with No matter what you decide, you want to have a link cloaker to some [...]

  8. [...] for it. With euraffiliates affiliate software it comes with every edition at no extra cost, explore how to hide your affiliate links. Yes, most popular affiliate software products normally come with this tool. However, be aware that [...]

  9. [...] or anything that looks like it, examine how to hide your affiliate links. You’ve got to learn how to hide your affiliate links to ensure click [...]

  10. [...] you make your credit card accounts accessible online, keep your log in information in a, research how to hide your affiliate links. Txt file. Copy and paste to login to your account. Just in case you have a malicious keylogger [...]

  11. [...] will like to define their private example how to hide your affiliate links back links that goes with their web website or promoting campaign Is Arbitrage a Little bit like [...]

Leave a Reply