Should be done before any output is sent to the browser. header("Location: http://www.google.com"); PHP:
This means, that this code must be executed before anything is sent to the browser. Place the line at the top of your code and you won't have any problems
I am interested in this also. Can anyone tell me how to do the type of redirect that says "The page has been moved, redirecting in 5 seconds". Obviously output has been made yet it still redirects. How is this done?
^That is a javascript or meta redirect. Google using those terms. And yea, you will need to have a custom 404 page.
before posting this reply,when i entered my username and pass. then dp automatically redir. it. I want to know that how dp does that. plz any good suggestion........