I want one domain name to go to the index and another to go to a specific page within the website. I am using the following code in the header of the index, but to no result. Can anyone tell me how to fix this?
if ($HTTP_HOST=="http://www.chickswhostick.com" or $HTTP_HOST=="www.chickswhostick.com" or $HTTP_HOST=="chickswhostick.com")
header("Location: [a href=\"http://www.chickswhostick.com/teamitgurl.php");\" target=\"_blank\"]http://www.chickswhostick.com/teamitgurl.php");[/a]
} /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users