Answers for "location ~ .php"

PHP
7

php header location

<?php
// This will just redirect you to example.com
header("Location: https://example.com");  
?>
Posted by: Guest on April-13-2020
3

php redirect

header("Location: http://example.com");
die();
Posted by: Guest on October-03-2020

Browse Popular Code Answers by Language