View Single Post
Old 11-06-2008, 12:23 PM  
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,499
Quote:
Originally Posted by Mr Pheer View Post
How do you do this? Is there a script I can buy?
Have all your webpages link to a redirection script instead of straight to the sponsor.
Then that script will check the IP address and you define a url for each country (or cluster of countries).

Done. I use Maxmind's database and wrote my own script in perl to do the legwork, its about 100 lines of code, not that much at all. I'm sure there's a few php versions floating around for free, but being the hardcore perl coder that I am, I wrote my own script.

WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote