This is How You Rotate Offers in BHCB

GreenDolla

Regular Member
Joined
Nov 13, 2009
Messages
260
Reaction score
75
All right guys thanks to http://www.blackhatworld.com/blackhat-seo/members/29142-kimkils.html i finally found a way to rotate offers in bhcb. I looked all over the place and could not find a way to rotate offers in bhcb without URL rotators, so i hope this helps somebody.

If your lazy like me just download the attached file.

All right first you make a PHP file named whateveryouwant.php, then you insert this code into the php file you just made.

PHP:
<?php

$random_url = array("http://www.site1.com",
"http://www.site2.com","http://www.site3.com","http://www.site4.com");
            srand(time());
            $random = (rand()%count($random_url));
        
            header ("Location: $random_url[$random]");
Edit the code for whatever offers you want to be rotated.

Now all you have to do is place the link to whateveryouwant.php into links.txt, so instead of placing your CPA link in the links.txt place the link to the php file you just made like so, http://yoursite.com/whateveryouwant.php

That's It Your Done, No More Dam URL Rotators, this code is set to randomly rotate offers but you can fine tune it yourself to whatever you like, it also has some type of Geo redirect but i don't know how to use so i left it alone. Hope this helped somebody.
 

Attachments

Looks good, I'm about to start using BHCB myself and this is one of the things I was wondering about. Thanks for sharing.
 
If you use this to rotate your ads, will the built in refferer hiding option still work?
 
This thread was recently linked to by someone who wanted to know a way to effectively Rotate offers in BHCB. This approach is flawed.

The referrer will definitely show as this PHP script should you use it. Assuming you are referring traffic from a legitimate WH domain, that will be no big deal. But if you are actually using it primarilly on your BH site - that's what your affiliate managers will see.

One thing you can possibly do to compensate for this is only put urls into this script that are already feeding through a double meta-refresh, or through Brad's CPA-R. That way your referrer blanking, or spoofing remains intact.
 
Back
Top