I am wondering if it is possible to make my site accessible only for a specific country. Therefore, anyone trying to visit a website outside a specific country will not have access.
I thought to get the php IP Geo Locator script and do the forwarding if the IP address is from the country I am solving.
How would you recommend it?
Thanks.
EDIT
It does not have to be 100% accurate. I just need PHP code that will do what I need. By the way, the country is Romania. Thank you :)
source share