Если не ошибаюсь, то можно так PHP: <script> setTimeout( 'location="http://yandex.ru";', 5000 ); </script>