Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Proper way to Cloak

Purely for users benefit.



12:43 pm on Sep 30, 2005 (gmt 0)

10+ Year Member

I have a webiste where the vistor split is about 50/50 UK/US traffic. One of the services i offer on the website is available only to US customers. I have however found a supplier for the UK market. What I want to acheive is based on IP address the page delivered to UK and US visitors is different. Can anyone recommend a proper way of doing this so as not to upset the bots. Also any good Geo-Location software.


12:51 pm on Sep 30, 2005 (gmt 0)

5+ Year Member

Have you considered language based content negotiation?

That way you serve separate versions of pages based on the language preference that the browser or bot specifies.

see [httpd.apache.org...]

for more information on the topic.


3:03 pm on Oct 1, 2005 (gmt 0)

10+ Year Member

Hi dragonthoughts

This has nothing to do with language. I want a solution that will detect if a user is from the US based on their IP. If so redirect them to say indexusa.htm everybody else index.htm




2:35 am on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

We don't do software recommendations on this forum. It's against the terms. There are plenty of geolocation companies out there... I suggest searching Google for them :)


8:39 am on Oct 2, 2005 (gmt 0)

10+ Year Member


I actually found a solution that is free. It involves uploading an free IP/Country database to MySql. You then add a index.php to your site. The index.php is easily configured, you just need to tell it the location of the MySql datbase and login details. And what pages to redirect to based on country.


Featured Threads

Hot Threads This Week

Hot Threads This Month