[pmwiki-users] Can redirect send 301?

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 17 08:50:02 CDT 2006


On Sat, Jun 17, 2006 at 01:54:21AM -0400, Ryan R. Varick wrote:
> I'm thinking of substantially reorganizing my wiki within the next few
> weeks.  I'd like to be somewhat graceful, leaving my (:redirect:)'s on
> all my current pages.  Using wget, I see that redirect pages send HTTP
> 302 (moved temporarily).  Is there any provision to send HTTP 301 -- a
> (:moved:) directive, perhaps?

Use the status= option to (:redirect:) :

    (:redirect OtherPage status=301:)

The documentation didn't mention this option, so I've added it,
as well as a relevant FAQ entry. 

Thanks,

Pm




More information about the pmwiki-users mailing list