Handbuch:$wgArticleRobotPolicies
Appearance
| 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: | [] |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
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'
];