php change url without redirect code example
Example: php permanent redirect to url
// Redirect page perminately
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://www.yourfancynewsite.com/mypage.php");
exit();
// Redirect page perminately
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://www.yourfancynewsite.com/mypage.php");
exit();