[pmwiki-users] Page redirect
Patrick R. Michaud
pmichaud at pobox.com
Mon Jun 18 11:16:38 CDT 2007
On Mon, Jun 18, 2007 at 11:10:53AM -0500, Chris Cox wrote:
> pmwiki at 911networks.com wrote:
> > I asked the question yesterday, and would like to rephrase it:
> > When I do a http://www.911networks.com/abc
> > I get a:
> > Not Found
> > The requested URL /abc was not found on this server.
> >
> > Instead, I'd like to get the sitemap.
>
> IMHO, something like this is perfect for apache's mod_rewrite module
> (if you're using apache of course).
Perhaps better would be to use an ErrorDocument handler:
ErrorDocument 404 /wiki/Main/SiteMap
This says that all requests resulting in 404 Not Found should be
redirected to the SiteMap.
Pm
More information about the pmwiki-users
mailing list