Answers for "redirect url php"

PHP
29

php redirect

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

redirect php

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

php redirect

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

php redirect to page

header("Location: /");
exit();
Posted by: Guest on May-16-2020
1

php redirect to url

header("Location: http://example.com/myOtherPage.php");
die();
Posted by: Guest on July-27-2020
3

How do I make a redirect in PHP?

header("Location: http://example.com/redirect_page.php");
die(); //Force the script to quit, or you would raise an error...
Posted by: Guest on May-18-2020

Browse Popular Code Answers by Language