guys i want to know how to remove referral from a link such that the targeted site will not know where the user comes from if he clicks that link.??
how to remove referral
Started on the old forum in December 2010 · view the original in the archive · old links redirect here
Look at the end of the link, after the query, ie ? Sign, you should see something like ref=some number or something similar. its usually obvious. Remove that.
However, if you mean the site referer in the server vars, that can be changed in your browser privacy settings however not all browsers do that, or use a proxy
Perfection comes at a cost
I accept liberty!
not that.. I wanted to know how to remove the referral that a site sends while people go from that site to the other site(linked in d previous site ) .If no variables are sent i.e without the variables after ?
in other words say you go from my site A to some other site B via a link in A. Then A will know that you are coming from A because the analytic data of a site can show the referring site. So i wanted to know how to stop that. That is stop sendine referrals to other sites.
However, if you mean the site referer in the server vars, that can be changed in your browser privacy settings however not all browsers do that, or use a proxy
That's what that paragraph was for. Just trying to cover all the bases.
This is sent in the http request that a browser sends to the server. If your browser supports it, you can disable it or use a proxy, but I doubt if you can disable it in the script cos it is client side dependent.
Ill check for you and give you feedback.
Perfection comes at a cost
I accept liberty!
I did some research and here are a few ways to remove the referer.
-
Clicking a link from https page to http strips the referer.
-
Using flash links.
-
Using header(location: ) in php. This is what ori mentioned. Create a page called redirect.php or whatever. Make all links in your site like this. "redirect.php?url=http://site-to-go-to.com" Use $_GET['url'] in the redirect page to get the URL and then use header(location: ) to send the user there. Will work.
Can't find a javascript solution unfortunately. Still looking.
Perfection comes at a cost
I accept liberty!
ok lets give you one more example
your site is yoursite.com and you wants to put other site link like othersite.com so your worry when user click on that link then othersite.com can see session etc in link right ? you just wants to send only site link not like that yoursite.com/index.php?sid=xs8qywewye8ey8qs912w etc ?
ok make a php page call it redirect.php
edt it and put
<?php
/* Redirect browser */
header("Location: http://othersite.com/");
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
so now you have to place a link at your site like yoursite.com/ redirect.php thats all
left wap stuff
ok got it .. thanx frostymarvelous and GiLL !!