ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Automatic geographic IP detection...... (https://www.scoobynet.com/computer-and-technology-related-34/171418-automatic-geographic-ip-detection.html)

Clarebabes 27 January 2003 09:48 AM

...for websites. E.g. if you were in the Netherlands, the site would automatically divert to the Dutch language site, even though .co.uk was the domain entered......

Make sense? Just wondering if there is a simple bit of code that could be inserted to do this. Help?

MATTeL 27 January 2003 09:53 AM

You might have problems with this as AFAIR IP address are not geographic.

Also if this was done I would keep seeing the German versions of websites when surfing from work. The perant company is German and the internet access is controlled from there as well.

stevencotton 27 January 2003 09:53 AM

It's webserver specific and called "Content Negotiation", it works by intercepting the "Accept-Language:" header sent by your client.

Steve.

dsmith 27 January 2003 10:02 AM

:D

If language="foreign" then font="VERY LARGE WITH CAPS ON".

Is all you need ;)

Jeff Wiltshire 27 January 2003 10:36 AM

LOL

Wurzel 27 January 2003 04:25 PM

and it is a right pain in the arse because whenever I type in google.co.uk I get sent to google.de if I wanted google.de I woulda bloody asked :D:D:D

stevencotton 27 January 2003 04:29 PM

Change the language setting in your browser, then it wont send the German accept-encoding, then :)

Clarebabes 27 January 2003 06:39 PM

So it obviously can be done then!! Does anyone know how to do it specifically?

chiark 28 January 2003 08:55 AM

Well, you could use ripe to see what organisation has the IP address, but that's rather taking a sledgehammer to crack a walnut...

I think the answer has already been posted here?

stevencotton 28 January 2003 10:09 AM

I'm obviously invisible ;)

Clarebabes 28 January 2003 05:47 PM

Steven, please can you mail me with specific instructions? clare@clarel.co.uk

Sorry for being stupid!

JackClark 29 January 2003 01:38 AM

Are you trying to target a particular market? Who is this web site aimed at?


All times are GMT +1. The time now is 08:36 AM.


© 2024 MH Sub I, LLC dba Internet Brands