Redirect Page

This forum is for off-topic discussion. You may talk about all things non-AGDI related here. No links to warez, abandonware, and no Flaming please.

Moderators: adeyke, VampD3, eriqchang, Angelus3K

Post Reply
Message
Author
Music Head
Defense Minister Status
Posts: 717
Joined: Sun Aug 15, 2004 3:55 am
Location: South Australia

Redirect Page

#1 Post by Music Head » Thu Aug 26, 2004 10:40 am

I was wondering how do i make a redirect page. You know a page the just sends you off to another in 2seconds or so.

PS. I don't wanna hear about how redirect pages are annoying

Thanks

User avatar
Spikey
Insomniac Speed Demon
Posts: 1195
Joined: Tue Jan 27, 2004 10:23 pm
Location: Rotterdam, Netherlands
Contact:

#2 Post by Spikey » Thu Aug 26, 2004 10:41 am

redirect pages are annoying

:D

JWar
Knight Status
Posts: 153
Joined: Fri May 21, 2004 11:49 am
Location: Tygron Development Centre
Contact:

#3 Post by JWar » Thu Aug 26, 2004 10:44 am

Put this between the <head> tags in the redirect page:

<meta http-equiv="Refresh" content="2;url=http://www.domain.com/link.html"> where 2 is the amount of seconds before the page is refreshed.

Music Head
Defense Minister Status
Posts: 717
Joined: Sun Aug 15, 2004 3:55 am
Location: South Australia

#4 Post by Music Head » Thu Aug 26, 2004 10:51 am

Cool stuff, Thanks

Spikey SHUT-UP >: :)

Pidgeot
Defense Minister Status
Posts: 736
Joined: Tue Sep 17, 2002 2:54 pm
Location: Kolding, Denmark
Contact:

#5 Post by Pidgeot » Thu Aug 26, 2004 10:54 am

It's a good idea to also include a link to the target page, in case the user has disabled META REFRESH commands, or is using a browser that doesn't support it.

User avatar
Spikey
Insomniac Speed Demon
Posts: 1195
Joined: Tue Jan 27, 2004 10:23 pm
Location: Rotterdam, Netherlands
Contact:

#6 Post by Spikey » Thu Aug 26, 2004 11:13 am

Jk ;)

JayWar yesterday I was in Delft at an OW party in the Boothuis or something like that. :D

Charlemagne
Canadian Pundit
Posts: 445
Joined: Sat Jan 24, 2004 8:25 am
Location: Ontario, Canada

#7 Post by Charlemagne » Sat Aug 28, 2004 6:04 am

Redirects using <meta> tags are are the spawn of purest evil! >: I really, really, really hate being "redirected to a new page in 5 seconds".

Seriously, though, it's a Very Bad Thing to redirect that way because it breaks the browser's "Back" button. You should use HTTP redirects instead.

Pidgeot
Defense Minister Status
Posts: 736
Joined: Tue Sep 17, 2002 2:54 pm
Location: Kolding, Denmark
Contact:

#8 Post by Pidgeot » Sat Aug 28, 2004 9:48 am

However, it's the only way if you don't have access to server configuration to setup those things. And unless you actually own the server, there's a good chance you don't.

JWar
Knight Status
Posts: 153
Joined: Fri May 21, 2004 11:49 am
Location: Tygron Development Centre
Contact:

#9 Post by JWar » Sun Aug 29, 2004 10:02 pm

Ofcourse it´s a very very VERY vErY Bad Idea (tm) to do that, but there´s just no other way I can see that does it. Plus, a http redirects don´t allow you to post a ´Dude... we like... yunno... kinda, like, moved the site and we, like, wanted to let ya know...´ message. (course, you could do this as a message on the true site, but hey, don´t want to bother the people following the new link with that kinda stuff)

Post Reply