PHP – Redirect Web Page – header()

You can use PHP to redirect visitors to your web page to different pages automatically. This can be good for maintenance tasks and for marketing tracking.

<?php

header("Location: http://www.cnn.com/");

?>

Be the first to comment

Leave a Reply