久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      WordPress快速增加百度收錄的方法

      下面由WordPress建站教程欄目給大家介紹WordPress快速增加百度收錄,加快網(wǎng)站內(nèi)容抓取的方法,希望對(duì)需要的朋友有所幫助!

      WordPress快速增加百度收錄的方法

      利用百度站長(zhǎng)平臺(tái)提供的鏈接自動(dòng)提交代碼, 快速增加百度收錄, 加快網(wǎng)站內(nèi)容抓取。

      1.創(chuàng)建名為 “baidu_js_push.php”的文件, 內(nèi)容如下(自動(dòng)推送JS代碼 ):

      <script> (function(){     var bp = document.createElement('script');     var curProtocol = window.location.protocol.split(':')[0];     if (curProtocol === 'https') {         bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';     }     else {         bp.src = 'http://push.zhanzhang.baidu.com/push.js';     }     var s = document.getElementsByTagName("script")[0];     s.parentNode.insertBefore(bp, s); })(); </script>

      2.將 baidu_js_push.php 文件上傳到網(wǎng)站根目錄(wordpress根目錄)。

      3.將下面一段代碼添加到主題文件的footer.php文件中, 以達(dá)到一處安裝, 全站皆有的效果。

      <?php include_once("baidu_js_push.php") ?>

      WordPress快速增加百度收錄的方法

      WordPress快速增加百度收錄的方法

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)