Baidu is the famous search engine and number one traffic ranked site in China. Baidu predominantly offer searches in Chinese and also offer English searches in partnership with Bing. If you are targeting users in China or your website is having pages in Chinese then it is a great idea to use Baidu custom search box in your site instead of Google custom search box.
You can get Baidu search box code in two ways:
- By logging into your Baidu webmaster tools account
- Without registering for webmaster tools account
Baidu does not offer English version of the webmaster tools hence you may need to use translation tool to understand the content. Here we eliminate the hassle of translation for webmasters and explain how to get and use Baidu search box code using English notations.
Click here to login to your Baidu webmaster tools account. You need to register and verify a new account in case if you do not have an existing account.
Click here to get the Baidu search box code without registering for Baidu webmaster tools account.
The procedure is same for both the cases and you will reach the webmaster tools page with various options. Scroll down and go to the last option “other tools” and click on the “Search Code” link.
You will see two tabs – one is for getting search box and the other is for getting suggested popular search.
Baidu Search Options
Under search code tab there will be three options available and you can copy and paste any of the codes in your site to enable Baidu search box.
As shown in the above picture, option1 is for Simple Baidu search box with an image, box and a search button.
Same like option1 with an additional option for searching Web, News, Music or Image as shown below.
Same like option1 with an option to choose web search or specific site search. Here, you need to replace “www.baidu.com” in the code with your site URL.
Prefetching Popular Searches
Once enabled, when searching in the Baidu search box will show the suggested search terms as shown below.