# Discourse embed url configuration issues

**URL:** <https://meta.discourse.org/t/discourse-embed-url-configuration-issues/406289>\
**Category:** Product Support\
**Tags:** embedding\
**Created:** [June 27, 2026, 3:56am UTC](https://meta.discourse.org/t/discourse-embed-url-configuration-issues/406289 "2026-06-27T03:56:39Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

The user [darkpixlz](/t/-/406289/1) is experiencing difficulties configuring the Discourse embed URL, noting that static configurations do not resolve the issue. [Falco](/t/-/406289/2) clarifies the distinction between the two required parameters: `discourseUrl` should point to the forum address (e.g., `meta.discourse.org`), while `discourseEmbedUrl` must specify the address of the external page where the embed is being included. In response, [darkpixlz](/t/-/406289/3) explains their intended workflow of pushing posts from Discourse to their own backend. They observed that updating the code resulted in the creation of new, ghost topics in the blog category rather than utilizing existing ones. The user asks if there is a method to link the embed to existing topics to avoid manually merging these unlisted ghost topics, noting that `discourseEmbedUrl` is currently set dynamically based on the blog entry ID.

<div class="post-metadata">

**Author:** ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Post date:** [June 27, 2026, 3:56am UTC](https://meta.discourse.org/t/discourse-embed-url-configuration-issues/406289/1 "2026-06-27T03:56:39Z")

</div>

I’m having trouble setting this up. Seems to just be giving me this without any explanation.

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/3/1/331cb7d6e9e273c892b214e4a3a82fb5829eda48.png)  
 ![image](https://global.discourse-cdn.com/meta/optimized/4X/1/a/4/1a4d6d76f45df60246cbc9023bed64f9b39c4a34_2_690x40.png)

The rest of my frontend setup is fairly stock. Having `discourseEmbedUrl` as a static URL instead of something dynamic didn’t help.

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/c/5/cc5417135b7d5c8fb7ec5ef34272c231e5bb260b.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/4/5/6/456a70c0919b33f3601ef1fe5c6eaec5ec549684.png)

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [June 28, 2026, 12:24am UTC](https://meta.discourse.org/t/discourse-embed-url-configuration-issues/406289/2 "2026-06-28T00:24:56Z")

</div>

> [@darkpixlz](#):
>
> ![image](https://global.discourse-cdn.com/meta/original/4X/4/5/6/456a70c0919b33f3601ef1fe5c6eaec5ec549684.png)

`discourseUrl` is the address of you forum, eg `meta.discourse.org`

`discourseEmbedUrl` is the address of the page where you are including the embed, eg `https://blog.discourse.org/2026/04/discourse-is-not-going-closed-source/`.

---

<div class="post-metadata">

**Author:** ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Post date:** [June 28, 2026, 12:41am UTC](https://meta.discourse.org/t/discourse-embed-url-configuration-issues/406289/3 "2026-06-28T00:41:38Z")

</div>

I was intending on writing posts directly in Discourse and having my own backend push the posts to my site. I refreshed my site after updating the code and it seems to have made a new post in the blog category with my 404 page on my production site, which makes sense because the blog isn’t live yet. Is there a way to get it to use existing topics, or will I need to stick with these weird ghost topics? Probably not the end of the world, as it makes them unlisted by default, but it would be good if I didn’t have to manually merge. (`discourseEmbedUrl` is set to https://…/blog/entry\_id [rendered by server])

---

<div class="post-metadata">

**Author:** ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Post date:** [July 28, 2026, 12:42am UTC](https://meta.discourse.org/t/discourse-embed-url-configuration-issues/406289/4 "2026-07-28T00:42:29Z")

</div>

Closed on July 28, 2026, 12:42am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
