Manual:$wgArticleRobotPolicies

From MediaWiki.org
Jump to: navigation, search
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: an empty array()

Other settings: Alphabetical | By Function


Details[edit | edit source]

Robot policies for pages, e.g. tag <meta name="robots" content="noindex,follow" />, e.g. :

$wgArticleRobotPolicies = array( 'Main Page' => 'noindex' );

See also[edit | edit source]

Robot policy Files: robots.txt
Attributes: nofollownoindex
Configuration settings: $wgArticleRobotPolicies$wgDefaultRobotPolicy$wgExemptFromUserRobotsControl$wgNamespaceRobotPolicies
Language: English  • français • 日本語 • polski