문서의 이전 판입니다!
PHP로 redirect하기
PHP로 redirect하기 위해 다음과 같이 할 수 있다.
<?php header("Location: http://test.com/test.php"); exit(); ?>
exit()를 넣어줌으로써 다른 헤더가 redirect에 영향을 주는 것을 막을 수 있다고 한다.
Reference: http://css-tricks.com/how-to-redirect-indexhtml-to-indexphp/