GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   GEO IP Database? (https://gfy.com/showthread.php?t=1039626)

CS-Jay 09-27-2011 11:52 AM

GEO IP Database?
 
Hey programmers of GFY where is a good place to get a recent geo IP db?

Thanks!

J

Babaganoosh 09-27-2011 11:54 AM

Quote:

Originally Posted by CS-Jay (Post 18455135)
Hey programmers of GFY where is a good place to get a recent geo IP db?

Thanks!

J

maxmind.com

Bladewire 09-27-2011 11:54 AM

http://www.maxmind.com/app/geoip_country

indo 09-27-2011 11:55 AM

are you trying to track conversions by region? or are you just trying to redirect traffic?

CS-Jay 09-27-2011 11:57 AM

Redirect traffic based on IP

Bladewire 09-27-2011 12:05 PM

Quote:

Originally Posted by CS-Jay (Post 18455148)
Redirect traffic based on IP

I have GeoIP installed and this is what you can do in your htaccess

Options +FollowSymlinks
RewriteEngine on

RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(US|CN)$
RewriteRule ^(.*)$ https://youtube.com/watch?v=PGuoR1V2nFQ$1 [L]

The above sample code redirects American and Chinese traffic to this Youtube video



:thumbsup

CS-Jay 09-27-2011 12:08 PM

so arrrgghhsome!

O MARINA 09-27-2011 12:24 PM

use my geo banners, spasibo

KLAN 09-27-2011 12:40 PM

Quote:

Originally Posted by Squirtit (Post 18455166)

Alestorm do it fucking better!


CS-Jay 09-27-2011 12:43 PM

Quote:

Originally Posted by O MARINA (Post 18455202)
use my geo banners, spasibo

I got nuffin for your right now, unless you want to buy stuff.

Bladewire 09-27-2011 12:53 PM

Quote:

Originally Posted by Marino sumo (Post 18455235)
Alestorm do it fucking better!


but they left out the fucking in "you are a fucking pirate!" :Oh crap

CS-Jay 09-27-2011 12:54 PM

should I use php purely, or the GEOIP apache mod?

KLAN 09-27-2011 01:52 PM

Quote:

Originally Posted by Squirtit (Post 18455253)
but they left out the fucking in "you are a fucking pirate!" :Oh crap

Unfortunally yes! that's due comercial purposes....

O MARINA 09-27-2011 01:53 PM

Thanks for putting up my banners CrazyShit.com

Bladewire 09-27-2011 01:56 PM

Quote:

Originally Posted by CS-Jay (Post 18455254)
should I use php purely, or the GEOIP apache mod?

I use Apache mode

woj 09-27-2011 01:57 PM

Quote:

Originally Posted by Babaganoosh (Post 18455139)
maxmind.com

</thread>

fris 09-27-2011 04:35 PM

Quote:

Originally Posted by CS-Jay (Post 18455254)
should I use php purely, or the GEOIP apache mod?

www.geoplugin.com

raymor 09-27-2011 04:59 PM

Maxmind is the geoip company. We use our own faster software, but they are kind the standard. Keep in mind that it's nowhere near perfect. They claim 80% accuracy outside of the US. Real accuracy is probably even lower, so figure it'll be wrong maybe 30% of the time.

Also keep in mind geoip is NOT how you do languages. The browser sends a header specifically telling you which language they prefer and mod_negotiation displays the page which is the best match.


All times are GMT -7. The time now is 11:46 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc