A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgDefaultRobotPolicy below:

Manual:$wgDefaultRobotPolicy - MediaWiki

Allows specifying the default robot policy for all pages on the wiki
Introduced in version: 1.12.0 (r30602) Removed in version: Still in use Allowed values: (text string appropriate for a "robots" meta tag) Default value: 'index,follow'

This configuration parameter allows specifying the default robot policy for all pages on the wiki. The default is to encourage link indexing and following. This can be overridden on a per-namespace and/or per-article basis.

The following example would forbid the indexing and following links on all pages outside the main namespace:

$wgDefaultRobotPolicy = 'noindex,nofollow';
$wgNamespaceRobotPolicies = [
     NS_MAIN => 'index,follow'
];

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4