How to make Country - Specific Web Site (and contents)? [closed]

Active3 hr before
Viewed126 times

2 Answers


How do I change web content according to visitor's country?,Find centralized, trusted content and collaborate around the technologies you use most., Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers , Introducing Content Health, a new way to keep the knowledge base up-to-date


$userip = $_SERVER["HTTP_CLIENT_IP"];

$ip_data = json_decode(file_get_contents("".$userip));
echo $ip_data - > geoplugin_countryCode;

Country code top-level domains with commercial licenses,A country code top-level domain (ccTLD) is an Internet top-level domain generally used or reserved for a country, sovereign state, or dependent territory identified with a country code. All ASCII ccTLD identifiers are two letters long, and all two-letter top-level domains are ccTLDs. ,Country code second-level domain,^ "gccTLD generic country-code domains".

load more v

Other "country-closed" queries related to "How to make Country - Specific Web Site (and contents)? [closed]"