# Embedded Discourse

**URL:** https://meta.discourse.org/t/embedded-discourse/187229
**Category:** Support
**Created:** [April 17, 2021, 9:40pm UTC](https://meta.discourse.org/t/embedded-discourse/187229 "2021-04-17T21:40:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Samir\_Faci](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samir_faci/32/119582_2.png) [@Samir\_Faci](https://meta.discourse.org/u/Samir_Faci)
#### Post date: [April 17, 2021, 9:40pm UTC](https://meta.discourse.org/t/embedded-discourse/187229/1 "2021-04-17T21:40:12Z")

</div>

Hello all,

I created a custom embed via admin-\>customize-\>embedding.

 ![Screen Shot 2021-04-17 at 2.36.13 PM](https://global.discourse-cdn.com/meta/original/3X/a/0/a07fd80a39c70e097c3f7fd1d3976db4750ce4d3.png)

Then the calling website has the following code injected:

```javascript
          <div id='discourse-comments'></div>

          <script type="text/javascript">
            DiscourseEmbed = { discourseUrl: 'https://forum.geekbeacon.org/',
                               discourseEmbedUrl: 'https://beta.geekbeacon.org/announcements/back-from-the-dead/' };

            (function() {
              var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
              d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
              (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
            })();
          </script>

```

It seems like the posts are being created on the forum, but the webpage has a peculiar behavior/error being returned.

 ![Screen Shot 2021-04-17 at 2.38.27 PM](https://global.discourse-cdn.com/meta/original/3X/2/5/259d907813566846edbcbde2800d7ea048a3e126.png)

What’s the issue? is that the discourseEmbedUrl includes the FQD including the https?

Any help would be appreciated.

---

<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: [April 18, 2021, 3:07am UTC](https://meta.discourse.org/t/embedded-discourse/187229/2 "2021-04-18T03:07:37Z")

</div>

Try removing the “/announcements/\*” path.
