[dokuwiki] Re: sitemap-verification with google (dokuwiki never returns 404-errors)
- From: Anika Henke <a.c.henke@xxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 25 Mar 2006 14:31:52 +0100
peter pilsl wrote:
Are you aware of the "send404" config option? -->
http://wiki.splitbrain.org/wiki:config#send404
Or did you enable it and it still does not work?
Thnx, I was not aware of this option, but after activating, it doesnt
seem to work.
Is this send404 a new option (I still use a 2005er-version of dokuwiki
and create my sitemapindex with a perl-script)?
Yes, this option is quite new (3 or 4 months old, I think).
You should consider switching to a newer DokuWiki version. But only for
this send404 option alone, it is not necessary. Because there are only 3
lines in the current ./doku.php that do the trick. (I hope I haven't
missed anything, though!?)
If you don't want to update, you could just add the following lines into
your ./doku.php:
if($conf['send404'] && !$INFO['exists']){
header('HTTP/1.0 404 Not Found');
}
right after
$INFO = pageinfo();
.
Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- References:
Other related posts:
- » [dokuwiki] sitemap-verification with google (dokuwiki never returns 404-errors)
- » [dokuwiki] Re: sitemap-verification with google (dokuwiki never returns 404-errors)
- » [dokuwiki] Re: sitemap-verification with google (dokuwiki never returns 404-errors)
- » [dokuwiki] Re: sitemap-verification with google (dokuwiki never returns 404-errors)
- » [dokuwiki] Re: sitemap-verification with google (dokuwiki never returns 404-errors)
Are you aware of the "send404" config option? --> http://wiki.splitbrain.org/wiki:config#send404
Or did you enable it and it still does not work?
Thnx, I was not aware of this option, but after activating, it doesnt seem to work.
Anika -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist