Manual:$wgArticleRobotPolicies
Appearance
| ロボット ポリシー: $wgArticleRobotPolicies | |
|---|---|
| ページごとにロボット ポリシーをカスタマイズできるようにする。 |
|
| 導入されたバージョン: | 1.11.0 (r22615) |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (配列の各要素は、ページ名と文字列の対です) |
| 既定値: | [] |
| その他の設定: アルファベット順 | 機能順 | |
詳細
Allows you to set the robot policies for specific pages.
- 例
To get the meta element <meta name="robots" content="noindex,follow" /> for "Main Page" you will need to set:
$wgArticleRobotPolicies = [
'Main Page' => 'noindex'
];