第一种:<meta name="mobile-agent" content="format=html5;url=http://m.wcmwc.cc/">
第二种:<link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.wcmwc.cc/" />
第三种:<meta http-equiv="x-ua-compatible" content="ie=8" /><link rel="canonical" href="http://www.wcmwc.cc/" /><meta name="mobile-agent" content="format=html5; url=http://m.wcmwc.cc/" />
将上面的代码选择一种放置在<head></head>之间。
文章来源:shenghuobaodian.com 从手机浏览器访问《生活宝典》 |