
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://mfaisal.com/chitika.php
http://domain.tld/php-file-name.php