joined:Mar 24, 2006
Does anyone know of a good way to block access to a website, depending on what country the user is accessing it from? E.g. I only want to allow UK visitors access and block the rest of the world, and redirect them to a page.
I've had quite an extensive Google search and so far can only find this: [countryipblocks.net
...] which lets you block whole regions via IP address, but you have to do it by individual IP addresses, which you put in your htaccess file - once done, the htaccess file was 3mb! Wayyy to big
And.. I've seen the HTML5 geo-location but it's only supported by new browsers.