Hide or Make Short Affiliates URL

September 29th, 2008

Some of you have to know about tinyurl service or user is using gocode wordpress plugin. We bring this affiliate link cloaking into a new era, using simple php code we have our own TinyURL service within our blog, even more, without using plugin so low consumption on server. This way, we can improve our way of placing and displaying our affiliate links for better click through rate, of course.

Now I will explain how to use a simple code of php to hide the url affiliation as “http://www.chitika.com/reff=293″ or “http://tinyurl.com/trjfg” to be “http://domain.tld/chitika.php” without using the plugin or tinyurl service.

1. Prepare your code affiliates url, for instance, “http://chitika.com/reff=293″
2. copy and paste this code

1
2
3
<?php
    header("location: http://chitika.com/reff=293");
?>
<?php
	header("location: http://chitika.com/reff=293");
?>

Change “http://chitika.com/reff=293″ with your own code affiliates url
3. Save your php file for example ‘chitika.php‘ name.
4. Uploaded to the server in the root folder of your website (such as public_html)
5. Done

For using this tips, for example file name is chitika.php

http://www.mfaisal.com/chitika.php

http://domain.tld/php-file-name.php

 

Kalau Anda merasa tulisan ini bermanfaat silahkan berbagi dengan menekan tombol share dibawah ini:

Silahkan baca yang ini

  • Merubah URL pencarian lebih ‘cantik’
    Seperti biasa, berkunjung ke blog kawan-kawan memang suatu hal yang menarik dan selalu mendapatkan informasi terbaru, bahkan menambah ilmu, serta bertambah tips dan juga trik terbaru.Kemarin ketik...
  • Memanjangkan URL
    Sering kita jumpai url atau alamat website yang pendek (short URL) dan alamat website yang pendek ini akan memudahkan kita dalam mengingatnya karena memang keterbatasan daya ingat manusia terbatas. Ad...