How does one correctly construct an HTTP 301 Moved Permanently response page in PHP?
The HTTP/1.1 rfc states:
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).
My understanding of this is that a message should be sent to the browser in HTML linking to the new URI, and the URI should also be included in the Location header, but sending the Locatin header with PHP causes the browser to go straight to the new URI, when what I want to be displayed is the link to the new URI, so that users are aware it has changed.