# 无法将 Discourse 连接到 WordPress

**URL:** https://meta.discourse.org/t/cannot-connect-discourse-to-wordpress/229073
**Category:** WordPress
**Created:** [2022年六月5日 17:35 UTC](https://meta.discourse.org/t/cannot-connect-discourse-to-wordpress/229073 "2022-06-05T17:35:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2022年六月6日 07:56 UTC](https://meta.discourse.org/t/cannot-connect-discourse-to-wordpress/229073/2 "2022-06-06T07:56:06Z")

</div>

你好 @CMASFO，欢迎来到 meta 🙂

关于这类问题，请参阅我在此处的回复：

> [@Changing host for Wordpress, lost connection to Discourse (curl 6 error)](https://meta.discourse.org/t/changing-host-for-wordpress-lost-connection-to-discourse-curl-6-error/192200/7?u=angus):
>
> Hey Romain, there could be a few different reasons. The reason we recently added [logging infrastructure](https://meta.discourse.org/t/wp-discourse-logging/190745) to the plugin is to directly diagnose these kind of issues. We’ll be adding logging to the connection functionality soon, however it’s only currently active in the publication functionality. A connection issue in the publication logs are unlikely to tell us anything useful. Nevertheless, you did mention an attempt to publish, so please first check the “Logs” admin panel in the WP Discourse p…

特别是：

> 我建议你多催促你的托管服务提供商，问问他们为什么无法向某个域名发起 `cURL` 请求。如果他们有更具体的理由认为这是 [WP Discourse](https://github.com/discourse/wp-discourse) 插件的问题，而不是服务器上的 cURL 版本不正确（这看起来更有可能），他们欢迎在此处发帖，甚至给我发私信，我很乐意与他们进一步探讨。

以及：

> [@cURL error 35 when trying to connect](https://meta.discourse.org/t/curl-error-35-when-trying-to-connect/57804/12):
>
> You could try installing this plugin: [TLS 1.2 Compatibility Test – WordPress plugin | WordPress.org](https://en-ca.wordpress.org/plugins/tls-1-2-compatibility-test/) It adds an item to the WordPress tools menu that tests you webserver for TLS 1.2 compatibility against a PayPal endpoint. If it works with PayPal it should work with other endpoints as well.

告诉我你的进展。

---

_[View the full topic](https://meta.discourse.org/t/cannot-connect-discourse-to-wordpress/229073)._
