#As an SEO person, it is necessary to use good tools! Regarding the submission of URL data to Baidu search engine, the "active push (real-time)" in Baidu Xiongzhao historical content submission and Baidu Resource Webmaster Platform link submission all mentioned the use of the CURL command, but many friends still do not know curl How to use it? There are also some installation and configuration tutorials on the Internet, but they are not detailed enough. Today PHP Chinese SEOer will make a detailed graphic tutorial on curl installation, configuration, and use (personal test was successful). I hope it can help everyone!
Related recommendations: Baidu Xiongzhanghao professional Q&A PHP method push complete code (with instructions)
##1: What is CURL?
curl is an open source file transfer tool that uses URL syntax to work in command line mode. It is widely used in Unix and various Linux distributions, and has transplanted versions under DOS, Win32, and Win64. Here we mainly introduce the use of CURL in URL push.2: CURL official download
Just follow these steps, don’t skip a step! Search curl download on Baidu, find the curl official website, and click to enter. As shown belowFigure 2: CURL for 32 bit download
Three: CURL installation and configuration steps
Step 1. After downloading, unzip and place it on the D drive. The folder name can be changed to mine, avoiding special symbols: D:\curl\curlwin32\bin##5. "Start" - "Run" - enter cmd, open the command prompt window, enter the curl --help command and press Enter. If the following figure appears, it means curl is installed successfully.
Four: CURL command push exampleStep 1: Create a new urls.txt file on the D drive (note that the name must be urls.txt), paste the URL to be pushed into the urls.txt file in the format of one URL per line.
Step 2: Switch the cmd command drive letter to the D: drive and enter the curl push command (Copy your curl push command code on the webmaster resource platform or Xiongzhaohao) ), as shown below
5: CURL command successfully returns result example
This is curl The installation and usage tutorials are all over, just follow the steps in the pictures and text! All that's left is to quickly push the URL you want to push to Baidu search engine, and let Baidu search engine take the initiative to crawl it. I won't talk about the benefits, so everyone should act quickly!
The above is the detailed content of Baidu Xiongzhanghao resource platform URL link submission using the curl command push example (installation and configuration graphic steps). For more information, please follow other related articles on the PHP Chinese website!