this is copied. i modified some of it.
I'm using this php jump script for my affiliate links.
Simply copy and paste following code to a text editor on your PC. I use Pspad
i named the php file ads
ads.php and uploaded to /go/ directory, linking to following URL will redirect user to example1.com.
Block Search Engines from Crawling and Indexing PHP files
We don't want Google to crawl these redirections. We can easily prevent it and other bots from crawling these files by blocking access to the directory. So open your robots.txt file and add following code to it.
I'm using this php jump script for my affiliate links.
Simply copy and paste following code to a text editor on your PC. I use Pspad
Code:
<?php
$v = $_GET['v'];
// In case someone calls naked php file
if ($v == '') {$link = 'http://pornstuffarooni.com/';}
// Add as many as links in below format. Each in a new line.
if ($v == 'fish') {$link = 'http://sexoidfsh.com/';}
if ($v == 'oils') {$link = 'http://fundepwe.com/';}
if ($v == 'grapes') {$link = 'http://grapeapewatreu.com/';}
// Don't change anything below this line.
header("Location: $link") ;
exit();
?>
ads.php and uploaded to /go/ directory, linking to following URL will redirect user to example1.com.
Code:
http://pornstuffarooni.com/go/ads.php?v=fish
We don't want Google to crawl these redirections. We can easily prevent it and other bots from crawling these files by blocking access to the directory. So open your robots.txt file and add following code to it.
Code:
User-agent: * disallow: /go/*

Comment