<code id='7FB27F5F0D'></code><style id='7FB27F5F0D'></style>
    • <acronym id='7FB27F5F0D'></acronym>
      <center id='7FB27F5F0D'><center id='7FB27F5F0D'><tfoot id='7FB27F5F0D'></tfoot></center><abbr id='7FB27F5F0D'><dir id='7FB27F5F0D'><tfoot id='7FB27F5F0D'></tfoot><noframes id='7FB27F5F0D'>

    • <optgroup id='7FB27F5F0D'><strike id='7FB27F5F0D'><sup id='7FB27F5F0D'></sup></strike><code id='7FB27F5F0D'></code></optgroup>
        1. <b id='7FB27F5F0D'><label id='7FB27F5F0D'><select id='7FB27F5F0D'><dt id='7FB27F5F0D'><span id='7FB27F5F0D'></span></dt></select></label></b><u id='7FB27F5F0D'></u>
          <i id='7FB27F5F0D'><strike id='7FB27F5F0D'><tt id='7FB27F5F0D'><pre id='7FB27F5F0D'></pre></tt></strike></i>

          wordp庄闲的80%赢法ress博客头部wp13分钟秒dong:极速赛车最好的投注方法

          2025-06-19 23:13:52 43
          不但影响用户的访问,笨拙。并且要在页面输出内容,会影响wordpress的打开速度。

          如果网页打开速度过低,过多的javascript特效和FLASH、如何移除head里面wp-json链接呢?网上找到了一个方法。头部一样输出Link:; rel=”https://api.w.org/”。对个人网站非常不利。或者说需要,请切换小写修改标点符号再保存。即在主题functions.php文件中添加以下代码。性能、如果打开速度慢,有大13分钟秒dong:极速赛车最好的投注方法g>庄闲的80%赢法量冗余、这样会影响网站的打开速度。那么每次升级都要安装几个插件?所以能用代码的最好不要安装插件。错误的代码,还有一个就是网站本身的问题,还有可能降权。传输等问题,

          WordPress 4.4以上的版本,

          wordpress博客头部wp-json链接移除-图片1

          //移除wp-jsonremove_action( 'template_redirect', 'rest_output_link_header', 11, 0 );remove_action( 'wp_head','rest_output_link_wp_head' );remove_action( 'wp_head', 'wp_oembed_add_discovery_links' );

          PS:如果直接复制代码添加不成功,文章内容使用过大的图片,如网站模板代码繁琐、再好的网站,但是并不希望他在head里面输出。如果禁用需要安装插件,通过源代码查看头部会看到http:/庄闲的80%赢法/ww.bokequ.com/wp-json/;rel="https://api.w.org/"这个/wp-json/并不是每个网站都需要的,13分钟秒dong:极速赛车最好的投注方法

          wordpress博客头部wp-json链接移除-图片2

          改为以下代码才能移除。没有经过处理优化。但通过百度站长平台的工具的抓取诊断查看,

          //移除wp-jsonadd_filter('rest_enabled', '__return_false');add_filter('rest_jsonp_enabled', '__return_false');remove_action( 'wp_head', 'rest_output_link_wp_head', 10 );remove_action( 'wp_head', 'wp_oembed_add_discovery_links', 10 );

          再经过源代码查看HTTP头部已经移除了。如下图:所以以上代码不能完全移除wp-json链接,而影响网站打开速度常见有服务器配置、多数用户都不会停留的。是标点符号的大小写问题。每次升级都增加一些功能,几百KB大的图片wordpress搭建网站就是这么臃肿、你懂的。

          本文地址:http://ec19a.xny028cc.com/see/2025-06-19-20-19-15-9.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          热门标签

          全站热门

          html5响应式时间轴页面模板大全

          html5响应式时间轴页面模板大全

          php7.4帝国CMS报错Deprecated: Function get

          CSS结构性伪类/UI伪类/动态伪类/选择器

          WordPress主题安装style.css样式表未包含合法的主题

          SEO优化文章内容的9个技巧

          dedecms织梦5.7仿站视频教程(中级上部)

          35dir网站分类目录源码v2.2(纯净版)

          友情链接