Answers for "how to redirect to php"

PHP
28

php redirect

//PHP redirect
header("Location: https://www.codegrepper.com/my-redirect-page.php");
die();
Posted by: Guest on August-06-2019
6

how to redirect with php

<?php
  header("Location: (redirect url)");
?>
Posted by: Guest on November-01-2020
3

redirect php

< ?php header("Location: http://www.redirect.to.url.com/"); ?>
Posted by: Guest on September-16-2020
0

how to redirect to php

function location($where){
	echo '<script>window.location.href="'.$where.'"</script>';
}


location("https://youtube.com");
Posted by: Guest on February-12-2021
1

redirect in php

header("location: THE LOCATION"); //"THE LOCATION", put in a URL or directory to redirect to. For example, header("location: https://google.com/"); or header("location: ../../images/dog/");
Posted by: Guest on January-15-2021

Browse Popular Code Answers by Language