Welcome to WebmasterWorld Guest from 23.20.215.116

Forum Moderators: open

Message Too Old, No Replies

cloaking by country

how to do it?

     
11:45 am on Dec 8, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 28, 2005
posts:56
votes: 0


Please advise.

I want visiors from USA view one page

and from other countries another

How to make this work?

2:11 pm on Dec 8, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 29, 2003
posts:351
votes: 0


The database from ip-to-country or any other ip to country service such as hostip.info can help you.
They are quite reliable.
1:00 pm on Dec 10, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 28, 2005
posts:56
votes: 0


who can write me the script?
i will pay

Showing main page of my site to visitors from 1 country

and showing different page for visitors from all othe rcountries

4:28 pm on Dec 10, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 29, 2003
posts:351
votes: 0


You can also look for
country ip hostip.info ip-to-country with the language of the script you intend to use. You will find many free scripts that are quite easy to adapt.
5:00 pm on Dec 10, 2005 (gmt 0)

New User

10+ Year Member

joined:Mar 6, 2003
posts:17
votes: 0


You might also want to try the MaxMind databases. They have Apache modules which will add an environment variable defining the country/region which you can easily reference with almost any scripting language.
1:17 pm on Jan 8, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 17, 2003
posts:122
votes: 0


I find the CSV database on this site: [software77.net...] is completely free and very accurate.

Best way is to import the CSV into an Access or SQL database and run a script as described on their website.

If you cant do it yourself with the included examples, then point your webmaster in the direction of this website and they should be able to do it in a matter of minutes (depending on your setup).