[Pmwiki-users] Redirecting (was robots)

Patrick R. Michaud pmichaud
Sat Jan 10 10:10:32 CST 2004


On Sat, Jan 10, 2004 at 05:42:05PM +0100, bram brambring (zonnet) wrote:
> >PmWiki's Redirect function uses 'http-equiv=refresh' in addition to a
> >302 (moved temporarily) header.  It does this because there are still
> >some browsers and web servers that don't properly handle 302 (or 301)
> >headers.  The goal is to provide robustness (work in multiple environments)
> >over simplicity.
> 
> Thought that you would have a good reason. Just I can't find the
> header("HTTP/1.1 301 Moved Permanently");
> or similair code.

Ah.  It's in the Redirect function, as the "Location:" header, which
is automatically translated into a 302 header unless some other status
code has already been set.  See http://www.php.net/header .

Pm



More information about the pmwiki-users mailing list