Welcome to WebmasterWorld Guest from 18.104.22.168
4% South African
I have seen websites automatically redirect me to a local version of their site by using my IP address (e.g. Lycos). Does anyone know how this is done? Ideally, I am looking for either a tutorial or sample code. I presume it has something to do with the RIPE NNC database. Also, if I do manage to get this working, are there any search engine optimisation issues? Will the spiders penalise me for doing this? Is it counted as cloaking?
Your help is greatly appreciated.
if so, of course there is no standart but a database, probably the rir's
do have such dbs
(edited by: PsychoTekk at 4:15 pm (utc) on April 2, 2002)
The second method could be fairly dangerous SEO-wise - as with all redirects - but the first shouldn't cause too many problems IMO, as you wouldn't be serving up different content to users and spiders within the same region...
I have not anyone for Africa.
I think you would need some scripting for obtain valid data from this sources.
I do currency conversion with my merchant account. The first time anyone visits any page where currency conversion is required, I load in the conversion figures and cache them in a file on my server. The first time is quite slow, but I use the same figures for 24 hours, thus I only call their server once per day (maximum).
Yours would be different, calling the server quite often, but if you cache each result (date each and everyone) for 4,6 or maybe even 8 weeks, the load will gradually drop.