# Integrated Discourse with Wordpress but the URL to 'continue the discussion' doesn't work

**URL:** https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863
**Category:** WordPress
**Tags:** wordpress
**Created:** [2015年三月27日 07:16 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863 "2015-03-27T07:16:03Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mikeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeem/32/115855_2.png) [@mikeem](https://meta.discourse.org/u/mikeem)
#### Post date: [2015年三月27日 07:16 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/1 "2015-03-27T07:16:03Z")

</div>

Hey.

So installed the Wordpress plugin and configured it, so this where comments were this now appears below new posts:

![](https://global.discourse-cdn.com/meta/original/3X/4/3/43d79bf9bf53ce0d9f3f7bcdc0ffdfc24ccd4354.png)

But the link looks incomplete:

[http://discourse.example.com/session/sso?return\_path=](http://discourse.example.com/session/sso?return_path=)

Here’s the config on WP:  
 ![](https://global.discourse-cdn.com/meta/original/3X/0/f/0f3182df1ca3c7fa4e864e1448d97021d2a6fb52.png) (I have API key and URL to discourse set up)

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

Also the config field “published category” doesn’t populate (blank dropdown) so may suggest it’s not linked with Discourse.

Any ideas?

Cheers

---

<div class="post-metadata">

### Author: ![Grex315](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grex315/32/115868_2.png) [@Grex315](https://meta.discourse.org/u/Grex315)
#### Post date: [2015年三月27日 13:02 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/2 "2015-03-27T13:02:03Z")

</div>

In your PHP.ini file do you have “allow\_url\_fopen” enabled. This was an issue for me at first. Some hosts have this turned off by default for security reasons.

---

<div class="post-metadata">

### Author: ![mikeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeem/32/115855_2.png) [@mikeem](https://meta.discourse.org/u/mikeem)
#### Post date: [2015年三月27日 17:41 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/4 "2015-03-27T17:41:20Z")

</div>

> [@Grex315](#):
>
> allow\_url\_fopen

This was enabled and still no luck. Ideas anybody?

---

<div class="post-metadata">

### Author: ![Mitch](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Mitch](https://meta.discourse.org/u/Mitch)
#### Post date: [2015年四月27日 15:39 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/5 "2015-04-27T15:39:39Z")

</div>

I’ve got the same problem, the published category drop down is blank. My posts are being published, but not to the category I want, ending up in Misc I believe.

---

<div class="post-metadata">

### Author: ![AdamCapriola](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adamcapriola/32/5192_2.png) [@AdamCapriola](https://meta.discourse.org/u/AdamCapriola)
#### Post date: [2015年四月27日 19:03 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/6 "2015-04-27T19:03:18Z")

</div>

Look at the custom fields for the post. What is the value for `discourse_permalink`? Also try disabling SSO.

([Relevant plugin file.](https://github.com/discourse/wp-discourse/blob/4f6e7997733692799196e5ed5e3a6e7702de14dd/templates/comments.php))

---

<div class="post-metadata">

### Author: ![Mitch](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Mitch](https://meta.discourse.org/u/Mitch)
#### Post date: [2015年四月27日 19:39 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/7 "2015-04-27T19:39:44Z")

</div>

Weird, I disabled my theme (Genesis framework/child theme) and the **Published category** went from drop down box to a text field. I entered the category I want and new posts are going where they should. I then re-enabled my theme and all is still as it should be. The only thing I can think of is that I viewed the wp-discourse options page on my iPad at one point. SSO was not enabled.

---

<div class="post-metadata">

### Author: ![PopsRocker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/popsrocker/32/41634_2.png) [@PopsRocker](https://meta.discourse.org/u/PopsRocker)
#### Post date: [2015年四月30日 21:44 UTC](https://meta.discourse.org/t/integrated-discourse-with-wordpress-but-the-url-to-continue-the-discussion-doesnt-work/26863/8 "2015-04-30T21:44:01Z")

</div>

I had the same thing happening but also was not getting the posts published to the Discourse forum.

My fix … the “Discourse URL” in the plugin settings didn’t have the http:// before the URL. Something that has become a bad habit of mine. I used to always include the http even when I knew it wasn’t necessary but far too many apps, forms, web properties etc. have made people LAZY.

… Pops
