![]() |
Is there a way to redirect a whole country
Im looking to get rid of india and Pakistani traffic that i get is there a htaccess code i can use
|
of course, just google 'php country redirect'.. there will be a few steps
|
Quote:
|
here's javascript version
http://stackoverflow.com/questions/1...-my-ip-address http://stackoverflow.com/questions/1...from-a-js-file |
Quote:
|
You are probably best using a bit more advanced solution, using Max Mind or something.
|
Use IPtables if you have the capability, or if your HOST will do it.
Here's a site with the compiled blocks already, on a per country/region basis. The following Link handles various Asian countries. http://www.wizcrafts.net/chinese-ipt...blocklist.html ETA: Oops, you wanted to redirect... not block. The above is to outright block an entire country. |
http://i349.photobucket.com/albums/q...TAR101/074.jpg
For people that re-direct users from specific countries, where do you redirect them too? ADG |
Quote:
|
Quote:
|
Quote:
|
Average salary there is less than $100 per month, so yeah small prices would work better :2 cents:
Quote:
|
Deny them a visa at the border.
If that doesn't work, ask your host to do it. A few different ways. |
please send me code to block traffic from India, Egypt,etc
|
Code:
<script src="http://j.maxmind.com/app/geoip.js" type="text/javascript"></script> He seemed to know what he was talking about though so.... |
Yeah - Mexico is now in SoCal.
Is that what you mean? Ay chi wawa! |
Quote:
|
jesus... i will take it all. redirect to AFF. we bill very well in both places
|
All times are GMT -7. The time now is 07:30 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc