JS mengarahkan kembali di PHP

<?php echo "<script>
    window.location = 'http://www.example.com/newlocation';
</script>"; ?>
Energetic Elk