Redirecting a page in PHP is an easy task. A PHP Redirect automatically transfers a web user from one URL to another.
We can use the PHP Header method to redirect a visitor to a new page. The header() method is used to send HTTP headers back to the browser. The headers can be sent back to the browser only if there are no content or error messages shown in the page.
<?php
header(“location: [some-url]“);
?>
Replace [some-url] with the URL where you want the redirection to take place. For example:
header(“location: ./version2/index.html”);
redirect to “index.html” page in subfolder called “version2″.
header(“location: http://www.yahoo.com”);
redirect to a website called yahoo.com.
Incoming search terms for the article:
<?php header(location: [some-url]); ?>, install zeos delphi xe, redirecting page from silverlight to php, xe2 zeoslib