WP Discourse uses post URLs instead of permalink URL


When we publish a new post, it shows up on the topic with the post URL instead of the permalink URL. For example:


While it should be:


Any idea how to fix this? We use a custom permalink structure on the site:


This used to work, I think the behavior changes in the last few months. Perhaps because of an update?


Where are you seeing the URL in this form displayed? Does it come after the “Originally published at” text on the Discourse topic?

If so, I haven’t been able to find a way to reproduce the problem. That URL should have the structure that you have configured on your WordPress Permalink Settings page. If you are getting the wrong URL structure there, can you check to see if you have customized the WP Discourse publish_format_html template?

1 Like