Article View: bit.listserv.nettrain
Article #503Re: TO LINK OR NOT TO LINK
From: Brian Pomeroy
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
58 lines
2956 bytes
2956 bytes
At 10:52 AM 10/9/98 -0400, Valdivia, Eve I. wrote:
>You have a good point.
>
>I worked on a webiste called the Tour of DC and a one point we decided to
>change ISP's. People that linked to us without notifying us ended up with
>dead links because our address had changed. We could have notified them if
>we knew they were linking to us.
The solution here (as well as in any other situation in which the webmaster
needs to reroute incoming traffic) is to write a page containing a
"refresh" meta tag. For instance, suppose you want to send users who are
trying to access www.oldurl.com to www.newurl.com; in this case you would
write the following code and use it as the default home page for
www.oldurl.com:
<HTML>
<HEAD>
<TITLE>Home page of Old URL</TITLE>
<META HTTP-EQUIV="refresh"
CONTENT="0; url=http://www.newurl.com/">
</HEAD>
<BODY>
</BODY>
</HTML>
Incoming user will be automatically rerouted to www.newurl.com. The number
"0" represents the number of seconds the server waits until the redirect
takes place (in this case, 0 seconds).
A variation on this is to display an alert message before redirecting the
user, stating the existence of the new URL:
<HTML>
<HEAD>
<TITLE>Home page of Old URL</TITLE>
<META HTTP-EQUIV="refresh"
CONTENT="10; url=http://www.newurl.com/">
</HEAD>
<BODY>
<H2>This site has moved to http://www.newurl.com/. You will be
automatically sent to the site in 10 seconds. Please adjust your bookmarks
and links.</H2>
</BODY>
</HTML>
Of course, the catch here is that you have to maintain www.oldurl.com in
order to host the redirect page. Unfortunately, this may not always be
possible, even for a little while.
Brian Pomeroy
lunar@voicenet.com
http://www.geocities.com/Athens/6346/bio.htm
Children's Hospital of Philadelphia - http://www.chop.edu/
Technical Details
Message-ID:
<3.0.5.32.19981009131526.00824e90@popmail.voicenet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10449f,80147873b5f374c0,start
X-Google-Attributes: gid10449f,public
From: Brian Pomeroy <lunar@voicenet.com>
Subject: Re: TO LINK OR NOT TO LINK
Date: 1998/10/13
Message-ID: <3.0.5.32.19981009131526.00824e90@popmail.voicenet.com>
X-Deja-AN: 400744080
Sender: Internet/BITNET Network Trainers <NETTRAIN@LISTSERV.ACSU.BUFFALO.EDU>
Content-transfer-encoding: 7BIT
Approved: NETNEWS@AUVM.AMERICAN.EDU *
X-Sender: lunar@popmail.voicenet.com
Comments: cc: "Valdivia, Eve I." <ValdiviE@spiegelmcd.com>
Approved-By: "James G. Milles" <jgm3@TOASTER.LAW.CWRU.EDU>
Content-Type: text/plain; charset="us-ascii"
X-Received: from pomeroy.infosys.chop.edu ("port 1550"@w95bwp.infosys.chop.edu) by lefty.infosys.chop.edu (PMDF V5.0-7 #U3216) id <01J2RO8P201C0001PS@lefty.infosys.chop.edu>; Fri, 09 Oct 1998 13:27:09 -0400 (EDT)
ReSent-Subject: Re: TO LINK OR NOT TO LINK
MIME-version: 1.0
Reply-To: Brian Pomeroy <lunar@voicenet.com>
Newsgroups: bit.listserv.nettrain