![]() |
![]() |
![]() |
||||
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
Join Date: Dec 2009
Posts: 2,157
|
Best Way To Send GEO Traffic To Another Site?
Say you want to send ONLY German traffic from your .com site to your .de site.
What is the easiest and more accurate way to do this, without accidently sending users from other countries to the .de site? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Dec 2009
Posts: 2,157
|
OK so ive moved on step further and I know what Im looking for....
So what is the best "Geo Redirection Script" available? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Mar 2012
Location: Soon On Mars
Posts: 4,082
|
bump for you
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed Chicago Pimp
Industry Role:
Join Date: Aug 2004
Location: Chicago
Posts: 7,100
|
Can either do htacess or redirection script
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,087
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
|
Is this for some kind of ad format or it has to be done on server level?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Available for Coding Work
Industry Role:
Join Date: Jun 2008
Posts: 1,435
|
mod_geoip -> http://dev.maxmind.com/geoip/legacy/mod_geoip2/
__________________
<developer> MechBunny ![]() ![]() Email: vlad [at] dangerouscoding.com Telegram: @dangerouscoding |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Industry Role:
Join Date: Mar 2013
Location: Sweden
Posts: 95
|
What web server are you using?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Nov 2013
Posts: 252
|
The best way might be to check locale in accept-language HTTP header. If the primary locale is de then send to german site else to your main site. This way you will redirect all visitors whose primary language is german (for example austrian, some swiss etc), not just those who are currently on de IPs. If you need exactly those who are currently on german IPs, then, as it was said above, mod_geoip2 for Apache or ngx_http_geoip_module for nginx.
__________________
BossTDS - Traffic Distribution System |
![]() |
![]() ![]() ![]() ![]() ![]() |