Handbuch:$wgArticleRobotPolicies

From mediawiki.org
This page is a translated version of the page Manual:$wgArticleRobotPolicies and the translation is 38% complete.
Roboter-Richtlinien: $wgArticleRobotPolicies
Allow customisation of robot policies on a per-page basis.
Eingeführt in Version:1.11.0 (r22615)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(each entry indicates a page name and a text string)
Standardwert:[]

Details

Allows you to set the robot policies for specific pages.

Example

To get the meta element <meta name="robots" content="noindex,follow" /> for "Main Page" you will need to set:

$wgArticleRobotPolicies = [
    'Main Page' => 'noindex'
];


Siehe auch