Forum Moderators: phranque

Message Too Old, No Replies

301 Moved Permanently and hyperlinks

Is the hyperlink required in the response?

         

adb64

11:58 am on Nov 8, 2005 (gmt 0)

10+ Year Member



In this document [w3.org] the following is stated for the 301 response code:

The new permanent URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).

Until now for a 301 response I would only send the 301 response header and a new Location header. I've never added a hyperlink to the new location.

Is this hyperlink required from an SE point of view?
And how should the hyperlink be added? Embedded in a 'normal' webpage with <html> and <body> tags or is only a <a href="newlocation"> sufficient?

Thanks,
Arjan

adb64

1:32 pm on Nov 8, 2005 (gmt 0)

10+ Year Member



Anyone?