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
Collapse
X
-
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 proxyPerfection 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.
Comment
-
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
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!
Comment
-
I did some research and here are a few ways to remove the referer.
1. Clicking a link from https page to http strips the referer.
2. Using flash links.
3. 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.Last edited by frostymarvelous; 19.12.10, 13:49.Perfection comes at a cost
I accept liberty!
Comment
-
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
Code:<?php /* Redirect browser */ header("Location: http://othersite.com/"); /* Make sure that code below does not get executed when we redirect. */ exit; ?>
left wap stuff
Comment
Comment