Manual:$wgEnableCanonicalServerLink

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