# Unable to connect Discourse and WordPress

**URL:** <https://meta.discourse.org/t/unable-to-connect-discourse-and-wordpress/96350>\
**Category:** WordPress\
**Created:** [September 4, 2018, 6:50pm UTC](https://meta.discourse.org/t/unable-to-connect-discourse-and-wordpress/96350 "2018-09-04T18:50:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Arpit\_Gogia1](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Arpit\_Gogia1](https://meta.discourse.org/u/Arpit_Gogia1)\
**Post date:** [September 4, 2018, 6:50pm UTC](https://meta.discourse.org/t/unable-to-connect-discourse-and-wordpress/96350/1 "2018-09-04T18:50:25Z")

</div>

I’m facing an issue while connecting Discourse to WordPress using the Discourse Plugin. I’m running Discourse on a Digital Ocean droplet. The setup was performed exactly as mentioned here ([discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)). The droplet itself sits behind CloudFlare and HTTPS was setup using Let’s Encrypt (using [Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-https-support-with-lets-encrypt/40709)). The WordPress site is deployed on SiteGround, also behind CloudFlare.

When I add the forum’s root address, API key and administrator username in the plugin settings, in WordPress’ console, it still keeps saying “You’re not connected to Discourse”. Upon further investigating I’ve found that this particular request `/site.json%20?api_key=[FILTERED]&amp;api_username=&lt;username&gt;` is returning 403 Forbidden even with a fresh, valid API Key and a valid administrator username.

---

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