Manual:$wgArticleRobotPolicies
Appearance
From mediawiki.org
This page is a translated version of the page Manual:$wgArticleRobotPolicies and the translation is 38% complete.
Languages:
Robot policies: $wgArticleRobotPolicies | |
---|---|
Allow customisation of robot policies on a per-page basis. |
|
Introducido en la versión: | 1.11.0 (r22615) |
Eliminado en la versión: | aún se usa |
Valores permitidos: | (each entry indicates a page name and a text string) |
Valor predeterminado: | [] |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
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' ];