Manual:$wgArticleRobotPolicies

This page is a translated version of the page Manual:$wgArticleRobotPolicies and the translation is 38% complete.
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:[]

Detalles

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'
];

Véase también