Hide Original Referrer Script

I got it to cookie stuff with an iframe, but I need it to work with forums.
 
im kinda of new to this redirect stuff.. Im trying to get several unique clicks to many of my affiliate sites to dillute the traffic, so i plan to pay like $1 for 1000 junk clicks.. i was gunna make them all iframes one 1 "dummy" page.. so 1 click will get me 1 click on each ref page. wis there a way to get all my ref links to have not show that it came from my dummy page?
 
Thx Gen.
someone have problems should try echo $_SERVER['HTTP_REFERER']; in the index file of site2:)
 
Could you zip the whole code up and add it as an attachement?
That would be appreciated very much! :)
 
I am going to try Genjutsu code. It should take me a few days to get it up because of the new child in the house :) I have 2 brilliant ideas... One that should work easy and one that I hope works that could make me a lot of money. I'll keep you guys informed after testing :)
 
Is this supposed to forward to the $affiliate_link in the final step? When I try it it just goes to site 2, and doesn't forward. I want to hide the referrer, then forward to a CPA offer.
 
Hi,

Does anyone know if there is anything similar to powerlink generator software for wordpress? How can I create one redirect like yoursite.com/recommends/johnreese which will automatically redirect itself to the john reese's product page as an affiliate?

Please let me know.
 
@gen. I have a muuuch better way of faking referrer. Instead of checking for referrer of the site you want, why not make this 'fake referrer' page, more like, a gateway...

Let me explain.

Dont let it check against referrer, but let it check if a certain post variable , say, 'ttt' equals 5.

Now, send all your bh traffic to 1.php, which POSTS a form with a hidden field of ttt with value 5 to the 'gateway.php' page. gateway.php sees this, field is right, then does either a java redirect or a link click, depending on browser, to the offer.

If there is no post variable, require or include your REAL whitehat site php file.

Here is a little shameless promotion: Gump v2 does all this, and also frames offers. :]
 
nooo. Ok, on the whitehat site, you are checking for a certain referrer, if its that referrer, it redirects to offer page right?

Instead of checking referrer, just check a POST variable instead. here is an example, off the top of my head.

page2.php
Code:
$kw=$_POST['blah'];

if ($kw=='blahvalue') {
javar edirect to offer based on browser
} else {
require('real_index.php');
}

page1 auto submits a form to page 2 with a hidden field of blah=blahvalue.
Now you can drop page1.php anywhere you like, it will still work.
 
it DOES make a different... the difference is, you dont have to have the referrer set it stone... you can move that php file to another domain, it will still have the same post value.

This is much better than checking for the referrer. If you check for referrer, you have to set a predetermined referrer value to check against, or even an array, which still sucks.

what if you want to move page1 from mydomain.com/page1.php to mydomain.com/offer/page1.php? Then you ALSO have to change the whitehat site to allow for the new referrer. Using post, you set up whitehat site, and you are done.
 
The way I actually do it, it has a form field like, say, 'barba'.
something like this
Code:
<input type="hidden" name="barba" value="http://www.offer.com"></input>

something like that would be on first page, with a auto submit to second page.

On second page, simply check if "barba" post variable has a string length of greater than 0. if so, go to offer, if not, show whitehat site.

this method is foolproof. You now have a gateway whitehat page, that can be sent to ANY url you want, with a faked referrer, and can move page1.php anywhere you want.

Just make sure you change that "barba" variable to something random, and you're set.

Edit: yeah, both ways work, but I love the post method, because if you can set it up correctly, it will work with wordpress, forums, etc.. without any new mods.

i have mine, in Gump v2, set up to automatically work with wordpress. If it sees a 'p' post variable , and url variable is blank, it will show the wordpress blog, with correct page.
 
Last edited:
Could you zip the whole code up and add it as an attachement?
That would be appreciated very much! :)

Genjutsu, First, let me say thank you for all your valuable input here. I tried this code many times and can get it to work without a problem as far as redirection is concerned. However, it is NOT blanking out the referrer. Can you help? I used the following statement in the code to print the referrer from a previous redirect:

echo $_SERVER['HTTP_REFERER'];

and it shows the referrer every time. I tried it after site 1 in the code of site 2 and I even tried after site 2 in the code of a site 3 (site 3 acting as the affiliate link or CPA offer) In both cases, the referrer was not blanked out at all and came through.

Thanks.
 
@gen. I have a muuuch better way of faking referrer. Instead of checking for referrer of the site you want, why not make this 'fake referrer' page, more like, a gateway...

Let me explain.

Dont let it check against referrer, but let it check if a certain post variable , say, 'ttt' equals 5.

Now, send all your bh traffic to 1.php, which POSTS a form with a hidden field of ttt with value 5 to the 'gateway.php' page. gateway.php sees this, field is right, then does either a java redirect or a link click, depending on browser, to the offer.

If there is no post variable, require or include your REAL whitehat site php file.

Here is a little shameless promotion: Gump v2 does all this, and also frames offers. :]


Barbacamanitu, could you please post the full code set (page1 & page2?) for your method here? It would be greatly appreciated!
 
hey, i've got the code and everything seems to work just fine, thanks Genjutsu!

i do want to echo one question though, and that was scottb99's about page 2 loading before it redirects to the affiliate link.

is there any way to prevent page 2 from loading IF it must redirect to the affiliate link? any smart people out there think this is possible with some code? that would make this perfect.
 
I don't quite understand what is trying to be accomplished here. But here is a blog i've found that talks all about this and has developed a way to do this perfectly. I have no tested it so i'm not sure if it works 100%

Will try later....

hxxp://www.slightlyshadyseo.c0m/index.php/controlling-your-referer-and-hiding-your-traffic-sources/


I cant speak for anyone else here..But I know the guy who writes this blog..And if anyone wants to "learn" about blackhat then this blog is just about the only other resource you need to use besides BHW..Nuff Said!
 
Would this work for PPC campaigns and pass through PPC bots and recognize the final destination page as the end affiliate link? Or whatever "site2.php" would be?
 
still confuse but I want to learn so I will read this and read this until I am no longer the BH idiot.
 
Back
Top