![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Netherlands
Posts: 1,267
|
GEO Redirect script
Does anyone know of a good GEO redirect script ?
I need a script that can redirect a user to a domain when he comes from a certain country when he clicks a link. If he is not from that specific country he goes to the original URL ..
__________________
Free Porn Webcams |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2002
Posts: 6,924
|
__________________
CCBill Sponsors // ccbillsponsors.com // Your #1 Source for CCBill Sponsors! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Netherlands
Posts: 1,267
|
Quote:
__________________
Free Porn Webcams |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Oct 2007
Location: Netherlands
Posts: 415
|
Quote:
http://www.ip2location.com/ip-country-web-service.aspx Actually only redirection on country (ip based, which is not 100% precise) can be done pretty fast by an experienced webdeveloper. There are even free databases like http://software77.net/geo-ip/ - but ip2location seems to be much more precise. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: Europe
Posts: 3,055
|
here we go buba..
geoip.inc grab it here: http://uploading.com/files/DJSN7JON/geoip.zip.html include this in your redirect page(s): ($my_countries = array('cn,ru');) <- list of counties you want to redirect PHP Code:
http://uploading.com/files/KWCOOPZR/GeoIP.dat.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Netherlands
Posts: 1,267
|
I will try that out... many thanks !
__________________
Free Porn Webcams |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jan 2003
Posts: 1,630
|
Easiest way in my opinion is using Maxmind database and then define in your .htaccess file where you want to send visitors from certain countries. Very easy to do?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Netherlands
Posts: 1,267
|
I want to redirect them when they click a link.. It is simular to skimming traffic from galleries. So I think I need to create some kind of redirect url via a script.
Link > Script > Original URL or Redirect to my URL
__________________
Free Porn Webcams |
![]() |
![]() ![]() ![]() ![]() ![]() |