Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgArticleRobotPolicies

From mediawiki.org
Translate this page
Languages:
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

[edit]

Allows you to set the robot policies for specific pages.

Example

To get the meta element<metaname="robots"content="noindex,follow"/> for "Main Page" you will need to set:

$wgArticleRobotPolicies=['Main Page'=>'noindex'];


See also

[edit]
Files
Attributes
Configuration settings
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgArticleRobotPolicies&oldid=6082699"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp