[geeklog-devel] Geeklog and 404 Errors
dirk at haun-online.de
Fri Jan 4 10:37:15 EST 2013
> Geeklog also has a 404.php page which as far as I can tell is not used.
You're supposed to configure your webserver to display it in case of a 404. E.g. for Apache:
ErrorDocument 404 /404.php
> also doesn't seem to return a 404 error code but just contains a nice
> message to the user with a few link options. I am wondering if we should
> ditch this page but create a lib-common function that shows something
> similar that also includes the correct 404 header so search engines know not
> to visit. This way we would have a constant 404 error message across the
I can't remember the details, but the code that display the 404 page should not itself send a 404 - I think it was because the webserver already does it, if configured as shown above. Check some non-existing URL on geeklog.net - you'll see that it correctly returns a 404.
We should obviously explain somewhere how to use the 404.php, but other than that I don't see anything wrong with it as such.
More information about the geeklog-devel