From: <var...@us...> - 2010-05-18 14:58:27
|
Revision: 7405 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7405&view=rev Author: vargenau Date: 2010-05-18 14:58:20 +0000 (Tue, 18 May 2010) Log Message: ----------- Actions pages like AllPages must not be indexed, but must be followed to get all pages Modified Paths: -------------- trunk/lib/display.php Modified: trunk/lib/display.php =================================================================== --- trunk/lib/display.php 2010-05-18 14:47:58 UTC (rev 7404) +++ trunk/lib/display.php 2010-05-18 14:58:20 UTC (rev 7405) @@ -344,6 +344,9 @@ */ if ($pagename == _("SandBox")) { $toks['ROBOTS_META']="noindex,nofollow"; + } else if (isActionPage($pagename)) { + // AllPages must not be indexed, but must be followed to get all pages + $toks['ROBOTS_META']="noindex,follow"; } else if (!isset($toks['ROBOTS_META'])) { $toks['ROBOTS_META'] = "index,follow"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |