PHP Redirection Script

<?php
    header("Location: http://new_url/");
?>

I always forget the syntax and always have to google for it. So I am putting this code here. Am so lazy, you see. :o)

4 Replies to “PHP Redirection Script”

  1. Thanks for posting this. I’m glad you are on page one of the results, all the pages above you were junk, but your’s had exactly what I wanted.
    Yes, I’m lazy too (and forgetful)!
    Richard

Leave a Reply

Your email address will not be published. Required fields are marked *

Please answer question below to verify that you are a real person *