5 years ago (2015-03-18)  Algorithm language |   First to comment  60 
post score 0 times, average 0.0

Generally determine whether a page is Baidu indexed using "site + Web site" search command to check, here to share with you php automatically determine whether the article is Baidu included method, and the page is not Baidu's case, a click directly Submit URL to Baidu. Add the following code to the theme template file functions.php, and then add "<span><?php baidu_record(); ?></span>" at the output of the result information;

PHP to determine whether the article was included in Baidu

 

 

This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/php-judge-whether-baidu-2.html

Post comment

Style

No Comment

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW