Jump to content


Photo

Domain Alias


  • Please log in to reply
No replies to this topic

#1 ifyrlucky

ifyrlucky
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 24 March 2006 - 06:11 AM

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?

<?php
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. */
exit;
?>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users