Page 1 of 1

Auto-Redirection

Posted: Mon Oct 20, 2003 6:56 pm
by Vicious
Hey, I got a url ww.team101.net and I want it to automatically goto team101.net/html Does anyone know How I can do this?:

Posted: Mon Oct 20, 2003 6:58 pm
by markl999
mod_rewrite is the most elegant solution. Also are the 2 url's actually different sites or do you want to just rewrite the url?

Posted: Mon Oct 20, 2003 7:02 pm
by Sevengraff
if you mean like a simple redirect then use header("location: http://www.team101.net/html/");

Posted: Mon Oct 20, 2003 8:45 pm
by Vicious
Sevengraff wrote:if you mean like a simple redirect then use header("location: http://www.team101.net/html/");
thanks that worked