发布时间: 2020-05-26 15:41:16

WordPress PHP实现判断文章是否被百度收录

一般判断一个页面是否被百度收录都采用“site+网址”搜索命令进行检查,在这里向大家分享一下用php自动判断文章是否被百度收录的方法,并在页面没有被百度的情况下一键点击直接提交网址给百度。

将下面的代码加进主题模板文件functions.php里,然后在输出页加入信息处“<span><?php baidu_record(); ?></span>”是否收录的结果即可;

PHP实现判断文章是否被百度收录

本站大部分下载资源收集于网络,不保证其完整性以及安全性,请下载后自行测试。
本站资源仅供学习和交流使用,版权归资源原作者所有,请在下载后24小时之内自觉删除。
若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。
本站发布的内容若侵犯到您的权益,请邮件联系:161774035@qq.com 删除,我们将及时处理!
本文由(售页源码网)整理自网络,如转载请注明出处:http://www.shouyeso.net/105.html

11 评论

  1. hey there and thank you for youir inhfo – I have definitely picked up something new from right
    here. I did however expertise a few technical points using this site, as I experienced to reload the web site many times
    previous to I could get it to load correctly.

    I had been wondering if your web hosting is OK? Not that I am
    complaining, but slow loading instances times will very frequently affect
    yohr placement iin google and could damage your quality score iif ads and marketing with Adwords.
    Well I’m adding this RSS tto my e-mail and can look out for muc more of your respective
    intrriguing content. Ensure that you update this again very
    soon.

    Heree is mmy blog post … ブレゲ アエロナバル 21

  2. I blog frequently and I truly appreciate your information. This articlee has really peaked mmy interest.
    I am going to take a note of your site annd keep checking for new information about
    once a week. I subscribed to your Feed too.

    Feel free to surf to my homepage … オメガ 時計 修理 銀座

  3. I blog frequently and I really thank you for your information. The article has
    truly peaked my interest. I am going to book mark your website and
    keep checking for new details about once per week.

    I subscribed to your Feed too.

  4. Withh havin so mch written content do you ever runn into any issues of plagorism or copyright infringement?

    My site has a lot of unique content I’ve either written myself oor outsourced but it appears a lot of it is popping it up all over thhe web without my authorization. Do yyou know any techniques too help
    protect against content frfom being ripped off?

    I’d gsnuinely appreciate it.

    Feel free to surf to my blog – ブライトリング トランスオーシャン クロノグラフ 38mm

发表评论

WordPress PHP实现判断文章是否被百度收录