// 2019/08/27 to determine the start page by the language of its referer // Mu-Cheng Hsieh $http_referer = $_SERVER['HTTP_REFERER']; if ( preg_match('/en:/', $http_referer ) ) { //echo "$http_referer = English"; echo " <script type=\"text/javascript\"> window.location.href = \"./en:about:latest\"; </script> "; } else { //echo "$http_referer = Not English"; echo " <script type=\"text/javascript\"> window.location.href = \"./about:latest\"; </script> "; }