Dear all Pros
I would like my landing page to redirect to website
www.A.com for tier 1 countries and website
www.B.com for all other countries, so the codes were written like this:
<?php
$countrycode= $a['geoplugin_countryCode'];
if (in_array($countrycode, array('us','gb','at','de','ca','ch','fr','it','nl','au','nz','sg','ch')))
else
?>
But while checking I see that it could not redirect to website
www.A.com when visitors from the tier 1 countries visit the landing page. Only the website B was redirect to.
Please help me, tell me what is wrong and how to fix it. Thank you a lot all pros!