Open main menu

手册:$wgArticleRobotPolicies

This page is a translated version of the page Manual:$wgArticleRobotPolicies and the translation is 67% complete.
Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎中文 • ‎日本語
机器人方针: $wgArticleRobotPolicies
Allow customisation of robot policies on a per-page basis.
引进版本:1.11.0 (r22615)
移除版本:仍在使用
允许的值:(each entry indicates a page name and a text string)
默认值:[]

详情

用于页面的机器人方针,例如标签<meta name="robots" content="noindex,follow" />,例如:

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

参见