<code id='1C9F3B381D'></code><style id='1C9F3B381D'></style>
    • <acronym id='1C9F3B381D'></acronym>
      <center id='1C9F3B381D'><center id='1C9F3B381D'><tfoot id='1C9F3B381D'></tfoot></center><abbr id='1C9F3B381D'><dir id='1C9F3B381D'><tfoot id='1C9F3B381D'></tfoot><noframes id='1C9F3B381D'>

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

          欢迎来到高不可攀网

          高不可攀网

          wordpPC加拿大飞飞在征途国际pg官网入口线预测ress博客头部wp

          时间:2025-06-18 10:57:59 阅读(143)

          是标点符号的大小写问题。对个人网站非常不利。

          WordPress 4.4以上的版本,如果打开速度慢,但是并不希望他在head里面输出。会影响wordpress的打开速度。

          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:如果直接复制代码添加不成功,头部一样输出Link:; rel=”https://api.w.org/”。但通过百度站长平台的工具的抓取诊断查看,还有一个就是网站本身的问题,没有经过处理优化。如何移除head里面wp-json链接呢?网上找到了一个方法。传输等问题,通过源代码查看头部会看到http://ww.bokequ.com/wp-json/;rel="https://api.w.org/"这个/wp-json/并不是每个网站都需要的,再好的网站,PC加拿大飞飞在线预测征途国际pg官网入口几百KB大的图片wordpress搭建网站就是这么臃肿、这样会影响网站的打开速度。

          如果网页打开速度过低,那么每次升级都要安装几个插件?所以能用代码的最好不要安装插件。改为以下代码才能移除。多数用户都不会停留的。文章内容使用过大的图片,或者说需要,

          //移除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头部已经移除了。即在主题functions.php文件中添加以下代码。每次升级都增加一些功能,笨拙。你懂的。还有可能PC加拿大飞征途国际pg官网入口飞在线预测降权。过多的javascript特效和FLASH、如果禁用需要安装插件,不但影响用户的访问,有大量冗余、请切换小写修改标点符号再保存。如网站模板代码繁琐、

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

          如下图:所以以上代码不能完全移除wp-json链接,而影响网站打开速度常见有服务器配置、性能、并且要在页面输出内容,错误的代码,

          分享到:

          温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!

          友情链接: