当前位置:首页 > 代码·功能 > 正文

禁止搜索引擎转码网页

像百度,搜狗等搜索引擎,一般页面非wap都会进行转码,转换为wap页面,虽说这个也挺不错的,但是流量……

而且还带着满满的广告,一成不变的页面,看着有点……

那么为了我们的利益,还是禁止他们转码吧!

只要在顶部放上一段代码,一切解决!禁止转码就此搞定!

在主题header.php或顶部添加如下代码:

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

放在顶部,再看一下,百度直接提示,该网站禁止转码,请直接访问!

智能机,直接打开网站了吧!具体,请亲自测试下!

标签:
上一篇: 下一篇:

6 条评论

评论加载中...
  1. 633584 389071There is noticeably big cash to recognize about this. I suppose you made specific good points in attributes also. 143832

    2018年8月17日 03:39 评论
  2. 地板
    United Kingdom Safari浏览器 Mac OS X 10_4_11
    UK Chat  

    942541 669857Aw, this was a quite good post. In concept I wish to put in writing like this moreover ?taking time and precise effort to make an exceptional post?but what can I say?I procrastinate alot and surely not appear to get 1 thing done. 959543

    2018年8月15日 20:17 评论
  3. 来支持了!

    2015年2月4日 14:06 评论
  4. 沙发
    来自天朝的朋友 未知浏览器 Unknow Os
    灰狼  

    博客过于花俏。。。

    2015年2月4日 12:27 评论

发表评论

不理你。不要啊!吃饭。吃惊。吃西瓜。飞吻!恭喜!Hi纠结!膜拜!OK抛媚眼。泡泡糖。抛钱。忍!生闷气!调皮。偷看。委屈。献花。疑问?抓狂!

小提示:Ctrl+Enter快速提交助您一臂之力~
加载中……