티스토리 스킨편집에서 html 맨 끝으로 내리면 <★/html> 있는데 그 바로 밑에다가
'★' 빼고 아래 복붙해서 넣으면 됨!
<★script type="text/javascript">
var path = window.location.pathname;
if(!path.split("/")[1]) location.replace("메인으로 올릴글주소");
<★/script>