Header Redirect Location in PHP

by Hiroshi on June 19, 2008

in Header, PHP Basics, Redirection

Here is how we redirect a page. The page will be redirected to specified URL.

<?php
header("Location: https://www.sitename.com/");
?>

Related Posts

Previous post:

Next post: