php header location link custom shema code example
Example 1: php redirect
header("Location: http://example.com");
die();
Example 2: header location php
<?php
// This will just redirect you to example.com
$url = "https://example.com";
header("Location: $url");
?>