Log in

View Full Version : Redirect Chinese Traffic


Mr Spock
2007-09-16, 04:28 AM
I want to redirect Chinese traffic and added the following code to my htaccess file:

RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (zh) [NC]
RewriteRule .* http://toplist.myfree-porn.com [R,L]

Redirects based on browser language, I was redirecting based on referrer, but it became tedious to update the referrer list every day.

Will this work?
Is their an easier way?

Mr Spock
2007-09-17, 12:29 PM
|huh

ArtWilliams
2007-09-17, 01:10 PM
This is what I use in my .htaccess file:

########## Send Useless Traffic Away
#

RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HK$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MO$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HK$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MO$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MY$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SG$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^JP$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TH$ [NC,OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TW$ [NC]

RewriteRule ^(.*)$ http://www.somesiteurl.com [R,L]

#
##########

You may want to also take a look here:

"Redirecting Useless Traffic" article (http://www.articlesuniverse.com/Article/Useless-Traffic---Is-there-such-a-thing---GEO-Redirecting-your-Foreign-Traffic/45258)

Stephen
2007-09-20, 02:25 AM
This is what I use in my .htaccess file:

I've used similar code (but a longer list that included a few dozen high-fraud countries), and noticed surfers still getting through.

If you have a trade script like ePower Trader that uses an IP database, use it to filter your traffic more effectively than via htaccess;

try sending "unwanted" traffic to PasswordByPhone (http://www.passwordbyphone.com/?aff=pbp-15480) – they can turn Chinese traffic into cash.

Remember, lots of folks bad-mouth traffic from certain countries, but the problem is that they're trying to sell $29.95/mo. memberships to people that simply can't afford it, or trying to bill via credit cards to folks that don't have credit cards. PBP gets around this by billing in their currency, language and realistic price points.

There's no bad traffic.