To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 1311
1310  |  1312
Subject: 
Re: redirector page
Newsgroups: 
lugnet.publish
Date: 
Wed, 22 Dec 1999 17:48:27 GMT
Reply-To: 
JSPROAT@stopspammersIO.COM
Viewed: 
650 times
  
"Ralph Döring" wrote:
In lugnet.publish, Larry Pieniazek writes:
Can someone post a snippet of html that correctly accomplishes a
redirect? That is, it does one of those "this page moved, if your
browser is grown up enough we'll take you there in 4 seconds, else click
below"
[snip of refresh HTML code]

This should work on most browsers, but is not guaranteed to do so.

If you can do CGI, I'd recommend doing a "302 Moved" header, which would
usually bypass the HTML completely.

The header would basically start like this:

HTTP/1.1 302 Moved
Location: http://www.notinkansas.com/yadda/index.html

You could then put the redirect HTML after the blank line at the end of the
header, to catch the very few (any?) browsers that don't handle 302.

Cheers,
- jsproat

--
Jeremy H. Sproat <jsproat@io.com> ~~~ http://www.io.com/~jsproat/
"Hello.  My name is Jeremy, and I'm a...a brick chewer."
  (in unison) "Hi, Jeremy."



Message has 1 Reply:
  Re: redirector page
 
(...) Yeah, I'm perpetually surprised when I see big, supposedly professional sites not doing this. (25 years ago, 22-Dec-99, to lugnet.publish)

Message is in Reply To:
  Re: redirector page
 
(...) Hi Larry, I took the code from the imaul page at: (URL) you havn´t seen it, take a look. It´s a great laugh :) The source code is: <HEAD> <TITLE>At last...</TITLE> <META HTTP-EQUIV="Refresh" CONTENT="5; URL=page2.html"> </HEAD> I think the 5 (...) (25 years ago, 22-Dec-99, to lugnet.publish)

10 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR