Filter traffic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • indeep2k5
    Confirmed User
    • Dec 2005
    • 174

    #1

    Filter traffic

    I'd like to filter out traffic from some misc countries, Especially the ones that dont get counted on the ppc.

    I do believe it would add alot of value to the productivity and for other obvious reasons.

    I could do it on the server side but would prefer to set it up per site as I host a couple sites for friends out of country.

    My question is where do i start researching this? I have googled it a couple times and not come up with alot of usefull information. Is it as simple as making some filters in the .htaccess file?

    Thanks guys, appreciate it

    webmaster {at} hotteacher {dot} net
    979140
    Syndicate your RSS across the web FREE!
  • indeep2k5
    Confirmed User
    • Dec 2005
    • 174

    #2
    oops.. then part 2 of my question...

    Foreign traffic worth anything? Its not really that much, mabye 1k a day for now.

    Lemme know
    Syndicate your RSS across the web FREE!

    Comment

    • Chr0makey
      Confirmed User
      • Oct 2006
      • 932

      #3
      Originally posted by indeep2k5
      Is it as simple as making some filters in the .htaccess file?
      That is one way to do it. There have actually been a few threads on GFY about how to do this.
      DDOS ATTACK PROTECTION

      Comment

      • indeep2k5
        Confirmed User
        • Dec 2005
        • 174

        #4
        I have been searching around for a couple hours now and found one place that looks like it will take care of the foreign traffic..

        I still cant find anything that is clear on how to filter it. Must be like my wife says when I cant find something in front of my nose "Im not very good looking"


        somebody.. anybody.. Just a search term to find it on gfy would even be ok. I found a thread on netpond on what to do with it and why to filter, but not a how to

        thanks!
        Syndicate your RSS across the web FREE!

        Comment

        • Sands
          Confirmed User
          • Feb 2007
          • 3134

          #5
          I've been looking into this as well, and a viable solution I've found is to add code to your .htaccess file that will redirect visitors according to their browser language. I've yet to implement anything though. Hope this helps in your search!

          Comment

          • indeep2k5
            Confirmed User
            • Dec 2005
            • 174

            #6
            When i do finally figure it out, i am going to post it all in this thread so hopefully someone in the future will be able to look at it and have something straight forward to go off of.

            Appreciate the feedback so far, Still have not found a great solution. As far as filtering with .htaccess, i know it can be done. I am just not sure how. I looked on gfy and another forum with not alot of success.

            Even google from what i have searched does not have anything to straight forward, I dont think I am the only one paving the way, i just need something to steer me in the right direction

            I find alot of reasons why filtered traffic is good and what to do with it though. So that answers part of my question.

            Maybe i am not searching for the right words, is there a technical term I am missing somewhere?
            Syndicate your RSS across the web FREE!

            Comment

            • jo3
              Confirmed User
              • Nov 2003
              • 876

              #7
              bump. i need to start filtering out that shitty china traffic eventually....
              //porn-oh network

              Comment

              • dakota1358
                Confirmed User
                • Oct 2005
                • 2114

                #8
                Code:
                <SCRIPT LANGUAGE="JavaScript"> 
                if (navigator.appName == 'Netscape') 
                var language = navigator.language; 
                else 
                var language = navigator.browserLanguage; 
                
                if (language.indexOf('zh') > -1 || language.indexOf('zh-cn') > -1 || language.indexOf('zh-hk') > -1 || language.indexOf('zh-mo') > -1 || language.indexOf('zh-tw') > -1 || language.indexOf('zh-sg') > -1) 
                document.location.href = 'http://www.whereveryouwant.com'; 
                </script>
                Should redirect china traffic.As long as browser language is set to chinese
                Carmen Cocks Rocks

                Comment

                • indeep2k5
                  Confirmed User
                  • Dec 2005
                  • 174

                  #9
                  Oh nice

                  thanks, I will put that into play now!
                  Syndicate your RSS across the web FREE!

                  Comment

                  • Sands
                    Confirmed User
                    • Feb 2007
                    • 3134

                    #10
                    Originally posted by dakota1358
                    Should redirect china traffic.As long as browser language is set to chinese
                    Very cool, dakota. Thanks!

                    Comment

                    Working...