[pmwiki-users] htaccess redirect if not exist

Eemeli Aro eemeli at gmail.com
Sun Aug 1 03:46:47 CDT 2010

On 30 July 2010 04:27,  <pmwiki at 911networks.com> wrote:
> What I'd like to happen is that the default becomes /pm2/site-new and
> if the webpage requested doesn't exist in /pm2/site-new, then switch
> to /pm1/site-existing where the existing page is still there.

Modify the Site.PageNotFound page at /pm2/site-new to redirect to the
page with the same name at /pm1/site-existing. You'll need to get a
recipe to enable interwiki redirect or something, I'm using a custom
solution (mostly Cookbook.Sisterly) so I'm not sure what's available.


More information about the pmwiki-users mailing list