00556: Provide alternate responses when page not found (e.g. 404)

Summary: Provide alternate responses when page not found (e.g. 404)
Created: 2005-10-15 18:21
Status: Closed - added in 2.1.beta21
Category: CoreCandidate
From: Pm
Priority: 5543
Version: 2.0.10

Description: Currently PmWiki always returns a page of some sort regardless of the pagename supplied-- for non-existent pages it returns an invitation to create the page, for malformed page names it returns whatever is in Site.PageNotFound.

Some web sites would like to have requests for missing or invalid pages to return 404 Not Found messages.

Couldn't Site.PageNotFound page be declared as the default 404 error handler?

Sure, but it's not clear that requesting a non-existing page should be a "Page Not Found" error -- some people like the existing interpretation as well. The part that needs study is what options to provide to admins and how they might interact with each other.


This feature is now a CoreCandidate. --Pm