Answers for "php redirect to index.php"

PHP
2

redirect from index.php

RewriteCond %{REQUEST_URI} /index.php
RewriteRule ^(.*)$ http://site.ru/ [R=301,L]
Posted by: Guest on November-26-2020
2

header location in php

<?php
/*
	This will redirect  to facebook.com
*/
$url = "https://facebook.com.com";
header("Location: $url");  
exit;
?>
Posted by: Guest on July-17-2020

Code answers related to "php redirect to index.php"

Browse Popular Code Answers by Language