PDA

View Full Version : Redirection?



AlabamaMan
May 6th, 2001, 18:18
How do i make a webpage that everytime a visitor enters it he will be redirected to another webpage? This must work on IE, Netscape and Opera.

meow
May 6th, 2001, 19:47
If you are on Unix-Apache and can use .htaccess files, that's the best way. Search for ".htaccess" and "redirect" and you will find a lot about it.

Or you can use a META tag. Like so:

<META Http-equiv="refresh" Content="n; Url=http://www.newurl.com/page.html">

where "n" is the number of seconds before the redirection takes place.

Watch it where you put the quotes! ;)

Epgs
May 6th, 2001, 22:37
thats the easiest way to do it. plus you can change how long it takes for it to refresh btwn. and stuff.

meow
May 7th, 2001, 01:43
Yeah, it's OK. Except if you are moving a page permanently or a whole site. .htaccess has many advantages. What does one use on NT? Is there something similar?