I want one domain address to go to the index.php and the domain alias to go to another page within the website. I am told this is done with a header redirect? I have been given this code
header("Location: [a href=\"http://www.example.com/");\" target=\"_blank\"]http://www.example.com/");[/a] /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
But I'm not sure exactly how it works or how to modify it to my needs, specifically where I need to type in the domain name alias and where I need to type in the url for the page I want it directed to.
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users