if($_SERVER['HTTP_HOST'] != 'www.dmsscadstar.co.kr') { if($_SERVER['QUERY_STRING']) header("Location: https://www.dmsscadstar.co.kr?{$_SERVER['QUERY_STRING']}"); else header("Location: https://www.dmsscadstar.co.kr"); exit; } ?>