Cloaking redirect with referer

someguy

Registered Member
Joined
Sep 17, 2008
Messages
86
Reaction score
39
Hey everyone,

if you want to hide your traffic source, you could use a double meta redirect. But I have to show a referer while hiding the traffic source. So I need a redirect, which does the following:

1. Traffic source: Yahoo! Sponsored Search (overture.com)
2. Redirect to: www.mysite.com/redirect.php
3. Redirect to: www.affiliatesite.com/affid=123

There referer shown at the affiliatesite should be 2. www.mysite.com/redirect.php


Redirect with php header():
Code:
<?php header(?Location:http://www.www.affiliatesite.com/affid=123?);?>
This will not work because the source will still be shown in the referer.


Meta-Refresh in HTML Head
Code:
<html>
<head>
<meta http-equiv=?refresh? content=?0;url=http://www.affiliatesite.com/affid=123?>
</head>
Won't work because FF and IE show blank referer


Javascript method 1 - window.location.href
Code:
<script language=Javascript>
window.location.href=?[url]http://www.affiliatesite.com/affid=123?;[/url]
</script>
</html>
IE shows blank page, works with FF


Javascript method 2 - form.submit
Code:
<body onload=?javascript:frmClickTracking.submit();?>
<form action=?[url]http://www.affiliatesite.com/affid=123?[/url] method=?post? name=?frmClickTracking?>
</form>
Works! But this is a very unusual way of hiding your traffic source, is there a better way?

The best would be a script only redirecting when getting the traffic from a specified Domain, otherwise showing the content of the page without redirecting. Whats methods do you use?
 
Well just use topgen tool for best results while it does not exactly do this it works well for redirection.
 
Last edited:
Well just use topgen tool for best results while it does not exactly do this it works well for redirection.

Or you can take the free route and make your own stuff ;)
Hands on experience making stuff is the best way to grasp and come up with more advanced methods.
 
Back
Top