how to remove referral

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to remove referral

    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.??

    #2
    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!

    Comment


      #3
      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


        #4
        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!

        Comment


          #5
          ok.. thanx for the help .

          Comment


            #6
            u can create a reffering page thats outside the normal session of your site meaning the reffering page will be lost

            Comment


              #7
              what u mean???


              I'm Proud to be a Sri Lankan!

              Comment


                #8
                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


                  #9
                  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;
                  ?>
                  so now you have to place a link at your site like yoursite.com/ redirect.php thats all
                  left wap stuff

                  Comment


                    #10
                    ok got it .. thanx frostymarvelous and GiLL !!

                    Comment


                      #11
                      You are welcome.
                      Perfection comes at a cost



                      I accept liberty!

                      Comment

                      Working...
                      X