指出桌面版移动优化页面(html)

Pointing out the mobile optimized page in desktop version(html)

我有一个专为桌面设备设计和优化的页面 foo.bar/root,现在我想告诉搜索引擎 m.foo.bar/m-root 是同一个页面,但针对移动设备进行了优化,我该如何做这个?
我应该在我的回复中添加什么样的标签(或 http header)来告诉亲爱的 Google 索引移动优化页面?

alternate link type "creates a hyperlink referencing an alternate representation of the current document"。使用 link 元素,它可能看起来像:

<!-- on the desktop page <http://example.com/foo/> -->
<link href="http://m.example.com/foo/" rel="alternate">

您还可以使用 media attribute 指定 "which media the resource applies to"(根据您的喜好调整媒体查询):

<!-- on the desktop page <http://example.com/foo/> -->
<link href="http://m.example.com/foo/" rel="alternate" media="only screen and (max-width: 640px)">

这是简单的 HTML5 方式。

根据 Google’s documentation,Google 似乎也能识别此标记。