# 一切正常，但未连接到 Discourse

**URL:** <https://meta.discourse.org/t/everything-is-fine-but-you-are-not-connected-to-discourse/114976>\
**Category:** WordPress\
**Created:** [2019 年4 月 14 日 03:38 UTC](https://meta.discourse.org/t/everything-is-fine-but-you-are-not-connected-to-discourse/114976 "2019-04-14T03:38:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![3cz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/3cz/32/138334_2.png) [@3cz](https://meta.discourse.org/u/3cz)\
发布日期： [2019 年4 月 14 日 03:38 UTC](https://meta.discourse.org/t/everything-is-fine-but-you-are-not-connected-to-discourse/114976/1 "2019-04-14T03:38:59Z")

</div>

I got this information after my configuration completed.

> “You are not connected to Discourse. If you are setting up the plugin, this notice should go away after completing the form on this page.”

I checked everything and didn’t find the solution, I can accessed the rest url via Curl command in the host server, both Wordpress and Discourse.

Any configuration is normal in my Wordpress except I changed the plugin path via wp-config.php like this:

> if ( !defined(‘ABSPATH’) )  
> define(‘ABSPATH’, dirname( **FILE** ) . ‘/’);  
> define (‘WP\_CONTENT\_FOLDERNAME’, ‘func’);

> define (‘WP\_CONTENT\_DIR’, ABSPATH . WP\_CONTENT\_FOLDERNAME);

> define(‘WP\_SITEURL’, ‘https://’ . $\_SERVER[‘HTTP\_HOST’] . ‘/’);  
> define(‘WP\_CONTENT\_URL’, WP\_SITEURL . WP\_CONTENT\_FOLDERNAME);

I am not sure if this configuration caused the issue.

---

_[View the full topic](https://meta.discourse.org/t/everything-is-fine-but-you-are-not-connected-to-discourse/114976)._
