取消百度转码

2025-11-24 06:26:12

1、在网站源代码中找到<head></head>

2、将这两行代码复制到<head>之间

<meta http-equiv="Cache-Control" content="no-transform" />

<meta http-equiv="Cache-Control" content="no-siteapp" />

3、<head>

<meta http-equiv="Cache-Control" content="no-transform" />

<meta http-equiv="Cache-Control" content="no-siteapp" />

</head>

取消百度转码

4、将修改完成的文件上传到网站空间或服务器,大约3~5个小时左右百度会取消转码(百度官方声明为5天),请耐心等待生效即可。

5、注意点:

如果网站代码中有下面两种适配代码,请删除下面代码,因为这些代码一起使用 时会产生冲突,造成转码失效。

<link rel=”alternate” type=”application/vnd.wap.xhtml+xml” media=”handheld” href=”target”/>

<meta name="mobile-agent" content="format=html5;url=网址">

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢