有时候网站做好了,提交上线才发现搜索引擎并不怎么理解你的电脑站和手机站的适配关系,甚至有时候就不明白你这个到底是电脑展还是手机站,所以会在电脑上给手机站的排名,或者在手机站上给电脑站的排名,甚至还有时候看到搜索引擎在犹豫不决。
所以,我们建议,新做的网站加上这些代码,更方便搜索引擎理解。尤其是网站做的不规范的,用模板网站的,更要加上这些代码。在电脑网站上加上这些代码:<meta name="applicable-device" content="pc">
<meta http-equiv="mobile-agent" content="format=html5;url=http://m.390seo.com/">
<link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.390seo.com/">手机网站上加上这样的代码:<link rel="canonical" href="http://www.390seo.com/" >
<meta name="applicable-device" content="mobile">如果你是自适应的网站,这样做:<meta name="applicable-device"content="pc,mobile">另外要说两句:
1、自适应网站搜索引擎并不喜欢,目前最喜欢的是访问同一个数据库,电脑和手机站分别使用两个域名的网站。
2、这些代码加总比不加强。