Robot policies: $wgArticleRobotPolicies | |
---|---|
Allow customisation of robot policies on a per-page basis. |
|
Introduced in version: | 1.11.0 (r22615) |
Removed in version: | still in use |
Allowed values: | (each entry indicates a page name and a text string) |
Default value: | [] |
Other settings: Alphabetical | By function |
Details
Allows do 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'
];
See also
- Manual:$wgDefaultRobotPolicy
- Manual:$wgNamespaceRobotPolicies
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.