# Baidu Search

**URL:** https://meta.discourse.org/t/baidu-search/170283
**Category:** Theme component
**Tags:** official, baidu-search
**Created:** [November 16, 2020, 5:23pm UTC](https://meta.discourse.org/t/baidu-search/170283 "2020-11-16T17:23:00Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [November 16, 2020, 5:23pm UTC](https://meta.discourse.org/t/baidu-search/170283/1 "2020-11-16T17:23:01Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **Baidu Search** is specific for Chinese sites whose users cannot use the usual Google search. |
| 🛠 | **Repository Link** | [https://github.com/discourse/discourse-baidu-search](https://github.com/discourse/discourse-baidu-search) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

> [@](#):
>
> :discourse2: As this is an #official theme component maintained by the Discourse team, #Support, #Contribute > Bug, #Contribute > UX, and #Contribute > Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&tags=baidu-search "Ask for support on configuring and using Baidu Search") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=baidu-search "A bug report means something is broken, preventing normal/typical use of the theme component") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=baidu-search "Discussion about the user interface of Baidu Search, and how features are presented (including language and UI elements)") [💡&nbsp; **Feature**](https://meta.discourse.org/new-topic?category_id=2&tags=baidu-search "Discussion about how existing Baidu Search features can be improved or enhanced, and how proposed new features could work")

### Features

After installing and activating the component remember also to update the `js.search.search_google` and `js.search.or_search_google` strings (from `/admin/customize/site_texts`) by replacing ‘Google’ with ‘Baidu’ or ‘百度’.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/b/cb99a4f8fed2effe897a32ebca3ad813f39f0f4c.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/d/cd526783ec9a39d41bb113f7ab89ad8111c89de2.png)

> **Parameters references**
>
> Since the documentation in English relating to the parameters used by Baidu is scarce, I leave here the two valid references I found on the net
> 
> - [https://chineseseoshifu.com/blog/complete-list-of-baidu-search-url-parameters.html](https://chineseseoshifu.com/blog/complete-list-of-baidu-search-url-parameters.html)
> 
> - [https://www.programmersought.com/article/1062804835/](https://www.programmersought.com/article/1062804835/)

### Credits

Thanks to @david for finding the workaround to make the search work on a specific site even without using the `Q6` parameter which doesn’t work properly with the search terms!

> :discourse2: **Hosted by us?** Theme components are available to use on our Standard, Business, and Enterprise plans.

> Last edited by @JammyDodger 2024-06-11T08:19:47Z
> 
> > **Check document**
> >
> > Perform check on document:

---

_[View the full topic](https://meta.discourse.org/t/baidu-search/170283)._
