$ 0 0 If page 2 has no html, then you should use the header() function:header('Location: '.$newURL);See if that helps.