Welcome to WebmasterWorld Guest from 54.146.246.4

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

how can I allow access based on Geog location

     

keevill

4:42 am on Sep 3, 2007 (gmt 0)

10+ Year Member



I notice that some hyperlinks when I click on them detect that I am in a
certain part of the world ( SE Asia ) and they return a 'sorry not
available in your area' page which then redirects me to a page in my area.
How is that accomplished?
I would like to appear to be UK based and only allow UK people to access
certain parts of the website- areas of interest only for people living in the UK for example. I know proxy browsers can overcome this but I don't really care if someone is that determined to get into one of these areas.

Receptional

8:32 am on Sep 3, 2007 (gmt 0)



This is done using a Geo-ip database. It is a database tracking all the IP numbers back to the probable country of the user. they are about 99% accurate these says but you do need to consider keeping the database current. Various subscriptions available from your friendly online supplier for you to choose from!

So - when a request hits your server, you check the IP against the database. Then you can deliver content based on the location of the user.

There's a downside. Whilst Geo-targetting per-se is seen as a legitimate use of cloaking (for that is what it is), you may find that you inadvertantly block search engine spiders, as these may be coming to your site from all sorts of countries. You could aim to get around this by finding a list of IPs they Googlebot, Slurp or other bots use, but be prepared for the possibilty of unexpected results. Keep at eye on Google's sitemaps reports and react if you suddenly get your site blocked or unspiderable.

keevill

9:08 am on Sep 3, 2007 (gmt 0)

10+ Year Member



Many thanks!
Are there any recommendations for this solution?
Pref free of course - but paid is also ok.

Receptional

6:40 pm on Sep 3, 2007 (gmt 0)



Are there any recommendations for this solution?

Sorry - that would amount to an advert. You'll not notice many of those on WebmasterWorld. Your favourite search angine should give you plenty of ideas :)