Manual:$wgEnableCanonicalServerLink

Output: $wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer .
Introduced in version:1.21.0 (Gerrit change 41562; git #e0a78d0a)
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details edit

If enabled with "true", output a <link rel="canonical"> tag on every page, indicating the canonical URL of the page. The URL includes the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer .