Re: Forcing to another page to load
Rob (wlkngowl@unix.asb.com)
Sun, 6 Jul 1997 21:17:46 -0500
On Sun, 6 Jul 1997 13:21:51 -0700 (PDT),
Andrew Daviel <andrew@andrew.triumf.ca> wrote:
> <META HTTP-EQUIV=Refresh CONTENT="4;http://www.domain.com/page.html">
>
> Works fine for people.
Isn't it CONTENT="4; URL=http://...." ? That seems to work fine as
well.
> Theory says you should send a 301 "Moved Permanently" HTTP status code
> which ought to update search engines, or otherwise automated agents
> will continue to think your old page is OK.
Yes, but there are other ways to show a page is superceded and
shouldn't be indexed.
<meta http-equiv="Refresh" content="time; URL=newurl">
<meta http-equiv="Expires" content="expiration date">
<meta name="Robots" content="noindex,noarchive">
<link rev=Supercedes href="newurl">
Notice the use of the expiration date, the link relationship and the
robots tag. In the body there's a message about the page being moved
with a link.
> However, if you issue a 301 status with a text page, most browsers
> will jump immediately to the new location without so much as a flicker.
Aren't browsers supposed to ignore status codes as part of a web
page? (ie, <meta http-equiv="Status"...>)
Rob
---
Robert Rothenburg Walking-Owl (wlkngowl@unix.asb.com)
Se habla PGP.
http://www.asb.com/usr/wlkngowl