百度转码代码添加好久了但是没有效果,这里给大家终极方案,解决百度耍无赖,被百度转码后不好看,有的排版比较乱等等,所以我们想办法不让百度手机端进行转码。
关于解决百度转码问题终极解决大全
一般情况把下面代码添加到在<head>之间</head>,加入即可
<meta name="applicable-device" content="pc,mobile"/>
<meta http-equiv="Cache-Control" content="no-transform"/>
但是,存在添加代码没有反应,所以我为大家提供下面代码
<!--百度转码 解决方法 start-->
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<meta name="applicable-device"content="pc,mobile"/>
<meta http-equiv="Cache-Control" content="no-transform"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<!--百度转码 解决方法 end-->
做完这些等待2-5天的百度缓存期,更新之后就会有效果了
相关文章
评论