I want to redirect people to the correct page based on the url typed.
My code is this:
Code:
<?php
$fulluri = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
echo $fulluri;
if ($fulluri = "https://mikewebs.com")
{
header('Location: IP.PHP');
exit();