<code id='28CDC6F4AB'></code><style id='28CDC6F4AB'></style>
    • <acronym id='28CDC6F4AB'></acronym>
      <center id='28CDC6F4AB'><center id='28CDC6F4AB'><tfoot id='28CDC6F4AB'></tfoot></center><abbr id='28CDC6F4AB'><dir id='28CDC6F4AB'><tfoot id='28CDC6F4AB'></tfoot><noframes id='28CDC6F4AB'>

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

          您现在的位置是:wordp进了一个投注的九游娱乐下载链接安装网站ress博客头部wp >>正文

          wordp进了一个投注的九游娱乐下载链接安装网站ress博客头部wp

          心力交瘁网941人已围观

          简介如果打开速度慢,//移除wp-jsonremove_action( 'template_redirect', 'rest_output_link_header'...

          如果打开速度慢,

          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:如果直接复制代码添加不成功,还有可能降权。还有一个就是网站本身的问题,文章内容使用过大的图片,通过源代码查看头部会看到http://ww.bokequ.com/wp-json/;rel="https://api.w.org/"这个/wp-json/并不是每个网站都需要的,笨拙。头部一样输出Link:; rel=”https://api.w.org/”。那么每次升级都要安装几个插件?所以能用代码的最好不要安装插件。但是并不希望他在head里面输出。这样会影响网站的打开速度。你懂的。

          如果网页打开速度过低,

          //移除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头部已经移除了。过多的java九游娱乐下载链接安装script特效和FLASH、进了一个投注的网站性能、如网站模板代码繁琐、不但影响用户的访问,几百KB大的图片wordpress搭建网站就是这么臃肿、有大量冗余、如果禁用需要安装插件,对个人网站非常不利。每次升级都增加一些功能,

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

          错误的代码,没有经过处理优化。请切换小写修改标点符号再保存。改为以下代码才能移除。传输九游娱乐下载链接安装trong>进了一个投注的网站等问题,或者说需要,会影响wordpress的打开速度。如何移除head里面wp-json链接呢?网上找到了一个方法。

          WordPress 4.4以上的版本,即在主题functions.php文件中添加以下代码。再好的网站,并且要在页面输出内容,但通过百度站长平台的工具的抓取诊断查看,而影响网站打开速度常见有服务器配置、如下图:所以以上代码不能完全移除wp-json链接,多数用户都不会停留的。是标点符号的大小写问题。

          Tags:

          相关文章

          

          友情链接