PC站自动跳转到WAP站对应的页面(HTML5+JS)

 head部分加如下代码:

<meta name="applicable-device"content="pc">
<link rel="canonical" href="https://www.56sys.com/jiyun.htm"/> <!--这里是让搜索引擎只收录一个页面-->
<meta http-equiv="mobile-agent" content="format=html5;url=https://m.56sys.com/jiyun.htm"/>

More...