Page 1 of 1

quick question about redirect

Posted: Sun Dec 22, 2002 3:51 pm
by stickman373
When i use

Code: Select all

header("Location: index.php");
it doesnt show the url of page i am redirecting to in the address bar, is there a way to show the new pages url instead of the page u redirected from?

Posted: Sun Dec 22, 2002 8:12 pm
by evilcoder
If you have a domain which is just used as a mask for your webhost then its gonna stay the same.

Eg: You have http://www.somedomain.com

but your host is http://www.yahoo.com and your domain is just redirecting to yahoo underneath, eg: your DNS info isn't set with Yahoo's then anyway you redirect the site's address wont show.