# 如何在 Discourse 中添加 Google 自定义搜索引擎

**URL:** <https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159>\
**Category:** Product Support\
**Created:** [2020 年7 月 8 日 15:21 UTC](https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159 "2020-07-08T15:21:20Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

作者： ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)\
发布日期： [2025 年8 月 14 日 08:01 UTC](https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159/16 "2025-08-14T08:01:10Z")

</div>

当 Discourse 搜索之前没有返回任何结果时，会出现一个标有“使用 Google 搜索您的网站”的按钮。  
这并没有比直接打开 Google 搜索并已填入以下内容更有帮助：

“site:yoursitename.com ”

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159)._
