Manual:$wgEnableCanonicalServerLink/en

Details
If enabled with "true", output a $link tag on every page, indicating the canonical URL of the page. The URL includes the canonical server which should be used, i.e. $Server or $CanonicalServer.