You're Language : location.href = 'http://www.isbc.co.kr/en';"); // header("Location: /ko"); exit(); } else if($lc != "ko"){ echo $lc; echo(""); // header("location: /en"); exit(); } ob_end_flush(); ?>