WordPress redirect by country ip with specific page
Does anyone know a worpdress plugin that can redirect users by country ip to a specific page?
I have tested in my local host it will work how to implement the word press specific page
$ip_data = @json_decode(file_get_contents(“http://www.geoplugin.net/json.gp?ip=”.$ip));
if($ip_data && $ip_data->geoplugin_countryName != null)
$result = $ip_data->geoplugin_countryName;
// echo $result;
if ($result == “India”)
//echo “Welcome to India!”;
//echo “Welcome to United States!”;
If am clicking the SERVICE page means it will check the ip address with country and redirecting the particular page in word press how
If anyone Known means help me
- The topic ‘WordPress redirect by country ip with specific page’ is closed to new replies.