[pmwiki-users] Page redirect
pmwiki at 911networks.com
pmwiki at 911networks.com
Mon Jun 18 12:38:10 CDT 2007
On Mon, 18 Jun 2007 11:16:38 -0500
"Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> 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.
Does NOT fully work. Ihave in .htaccess:
ErrorDocument 404 http://www.sqlpatrol.com/index.php/Site/PageNotFound
I get the redirect to the sitemap, but at the end of the (:pagelist:) I have:
(:if !group Category:)The page "{$RequestedPage}" doesn't exist.
(:if auth edit:)%rel=nofollow% ([[{*$FullName}?action=edit | Create {*$FullName}]])
(:if:)
When I try to get sqlpatrol.com/abc I get:
http://www.sqlpatrol.com/index.php/Site/PageNotFound
[that is correct but at the bottom of the page I get:
The page "Site/PageNotFound" doesn't exist. (Create Site.PageNotFound)
Which is wrong!
1. I am currently viewing it.
2. It should be:
The page "abc" doesn't exist. (Create abc)
Any suggestion?
--
Thanks
http://www.sqlhacks.com
The SQL knowledge base
More information about the pmwiki-users
mailing list