# Bug with URLs in Embedded Comments

**URL:** https://meta.discourse.org/t/bug-with-urls-in-embedded-comments/385191
**Category:** Bug
**Tags:** pr-welcome
**Created:** [October 9, 2025, 9:22pm UTC](https://meta.discourse.org/t/bug-with-urls-in-embedded-comments/385191 "2025-10-09T21:22:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [October 9, 2025, 9:22pm UTC](https://meta.discourse.org/t/bug-with-urls-in-embedded-comments/385191/1 "2025-10-09T21:22:41Z")

</div>

There seems to be a bug with the [Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963) feature.

If the URL of the blog post is `https://example.com/blog/post-title/`, the link to the post in Discourse will be `https://example.com/blog/post-title` (without the trailing slash, which is a different URL — it causes a redirect).

Blog post URL: `https://example.com/blog/post-title/`

Output:

```plaintext
This is a companion discussion topic for the original entry at 

https://example.com/blog/post-title

```

It’s also having some trouble with parsing the first two words in the titles, but I’m not sure how to debug it well enough to report it as a bug. If the blog post is something like “How to Whatever” the title in Discourse is “Howto Whatever”. I’ve searched the HTML source of the pages, and there’s nothing on the pages that contains the two words together without the space. It happens on many of the imported posts.
