var url1='whateverwelcome.tistory.com'; var url2='whateverwelcome.com'; var online=document.URL; if(online.match(url1)) document.location.href=online.replace(url1,url2); 태그 목록