[pmwiki-users] {$UrlPage}

Patrick R. Michaud pmichaud at pobox.com
Thu Oct 20 19:11:04 CDT 2005


On Thu, Oct 20, 2005 at 04:24:56PM -0700, H. Fox wrote:
> > Hmm, good point. Maybe we could use some other markup to indicate a
> > permanent move. Then, on second thought... If a page is truely
> > permanently moved, wouldn't the old location no longer exist? Where
> > would one use (:redirect:) of some alternate markup? Maybe another
> > list? Site.MovedPages? This just seems to be getting more and more
> > complex, doesn't it?
> 
> It's not unusual have complex discussion that eventually leads to a
> simple solution.
> 
> The solution for Status Codes could wind up being something as simple
> as having a Site/StatusCodePage with markup like
> 
>     !! 404 - Not Found
>       Main.SomePage
>       Main.SomeOtherPage
> 
>     !! 301 - Moved Permanently
>       Main.SomeOldPage => Main.SomeNewPage
>       SomeGroup.SomeGroup => SomeGroup.HomePage
> 
> or something along those lines.

More likely:

   404 Main.SomePage
   404 Main.SomeOtherPage
   301 Main.SomeOldPage => Main.SomeNewPage
   301 SomeGroup.SomeGroup => SomeGroup.HomePage

Pm




More information about the pmwiki-users mailing list