Hi, I need one of this script but i found that they dont have the option of geo redirect.
Do you know any alternative? Open source or cheap. Many thanks!
Do you know any alternative? Open source or cheap. Many thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
//$ip_code returns 'FR'
$pages = array(
'https://example_com/2/us' => 'US',
'https://example_com/2/fr' => 'FR' //<this one
);
$page_location = array_search($ip_code,$pages);
header("Location: $page_location");