Answers for "how to redirect a url to another url in php"

PHP
3

php redirect

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

how to redirect to another page in php

<?php header("Location: anotherDirectory/anotherFile.php"); ?>
Posted by: Guest on December-03-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

Code answers related to "how to redirect a url to another url in php"

Browse Popular Code Answers by Language