|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1 |
You can now put whatever you want in this space :)
Join Date: Nov 2006
Location: Vulcan
Posts: 695
|
Redirect Chinese Traffic
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? |
![]() |
![]() |
![]() |
#2 |
You can now put whatever you want in this space :)
Join Date: Nov 2006
Location: Vulcan
Posts: 695
|
![]() |
![]() |
![]() |
![]() |
#3 |
You can now put whatever you want in this space :)
|
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 |
![]() |
![]() |
![]() |
#4 |
Internet! Is that thing still around?
Join Date: Sep 2007
Posts: 9
|
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 – 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. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|