How to Code a PHP Redirect - PHP Header Redirect
PHP Redirect via header(). To install for installation, simply add index.php t…
How to Code a PHP Redirect - PHP Header Redirect
Thu, 24, Mar, 2022 12:58

How to Code a PHP Redirect - PHP Header Redirect

PHP Redirect
via header(). To install for installation, simply add index.php to the directory.

<?php header("Location: https://mailbox.com.tr/"); ?>

 

You can also redirect a file or as an example

<?php header("Location: directory/File.php"); ?>