[geeklog-devel] Geeklog and 404 Errors
komma at ivywe.co.jp
Fri Jan 4 11:47:01 EST 2013
Static Page plugin display error message.
I would think a 404 should be returned in this plugin, too.
I want wiki document about 404.php, too.
404.php is customized in our site.
.htaccess (as Dirk said)
ErrorDocument 404 /404.php
Configuration set staticpage id (e.g. "_404") for 404 error.
2013/1/5 Rouslan Placella <rouslan at placella.com>:
> On 01/04/2013 03:37 PM, Dirk Haun wrote:
>> Tom wrote:
>>> 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
>>> 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
> not itself send a 404 - I think it was because the webserver already does
> 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
> that I don't see anything wrong with it as such.
> Dirk, that's physically missing pages you're talking about (e.g:
> http://geeklog.net/nonexistent.php). For logically missing pages, Tom is
> right about sending the 404 header from gl
> (http://geeklog.net/article.php?id=nonexistent), the webserver won't send an
> error, since the page does actually exist...
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
More information about the geeklog-devel