Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Using International Traffic

How to maximise the international traffic using cloaking

1:27 pm on Dec 9, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 4, 2004
votes: 0


I've a client that specialise in computer repair. They are bases in UK and the likelyhood of someone sending over a machine from the US is very slim.

So i would maximise the value of there US traffic through affilates and adsense.

Using mod_write or cloaking is it possible to display a different site for our US visitors. I don't want to have a gateway page asking people what country they're from. I want to work it out from their IP. (I know it won't be fool proof because of proxies but I'll catch 95% correctly)

Has anyone any ideas

4:59 pm on Dec 12, 2004 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
votes: 0

There is a free database of IP's and their corresponding countries called GeoIP. If you are running the Apache server and have admin access, you can install a module that will easily let you direct surfers to different versions of your site based on their IP. Do a search for "geoip apache module" on Google, without the quotes.

If you can't install the module, you can use the SQL database version of the GeoIP library and write a simple script (e.g. in PHP) which will look up the country of the visitor that is accessing your page.

5:23 pm on Dec 12, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 22, 2004
votes: 0

i wanted to use this to show different pages to users from Us and Uk
i have looked at geo Ip module but will this require special access to apached httpd file
its too complicated to understand the instructions on the readme file

can u tell me how to work out

5:37 pm on Dec 12, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 13, 2003
votes: 0

Be careful with the GEO IP set up, you could accidently redirect the bots also.