# "Show Full Post" button doesn't work in subfolder installations

**URL:** https://meta.discourse.org/t/show-full-post-button-doesnt-work-in-subfolder-installations/390811
**Category:** Support
**Tags:** embedding, subfolder
**Created:** [December 9, 2025, 6:21pm UTC](https://meta.discourse.org/t/show-full-post-button-doesnt-work-in-subfolder-installations/390811 "2025-12-09T18:21:00Z")
**Posts on this page:** 1
**Showing post:** 26

<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: [December 17, 2025, 6:57pm UTC](https://meta.discourse.org/t/show-full-post-button-doesnt-work-in-subfolder-installations/390811/26 "2025-12-17T18:57:13Z")

</div>

> [@angus](#):
>
> Hey guys, I see the trailing slash has struck again 🙂
> 
> > [trailing slashes are] the principal issue it appears. When using [Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963) you control that via a parameter, it’s super easy to fix.
> 
> Just at note that all topic embeds in Discourse strip trailing slashes from the `embed_url`; see [TopicEmbed.normalize\_url](https://github.com/discourse/discourse/blob/main/app/models/topic_embed.rb#L30). As a result of a separate case involving the intersection of javascript embeds and [WP Discourse](https://github.com/discourse/wp-discourse) embeds we standardised this handling across both methods of embeds. See [Apply TopicEmbed url normalisation to embed urls inserted in the PostCreator by angusmcleod · Pull Request #30641 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/30641)

So the entire issue here is because the above PR started removing trailing slashes from TopicEmbed in January this year? I feel conflicted about this change. I’d prefer we respect what the admin sends us to be honest.

> [@angus](#):
>
> > [@Thiago\_Mobilon](#):
> >
> > can’t Discourse follow at least one or two redirects to retrieve the data?
> 
> It does 🙂

I think this is the root of our issues.

Can you please run the following @Thiago_Mobilon

```ruby
url = "https://tecnoblog.net/noticias/governo-renova-app-da-cnh-para-baratear-obtencao-do-documento"

fd = FinalDestination.new(url, validate_uri: true, max_redirects: 5, follow_canonical: true)

uri = fd.resolve

puts uri

html = FinalDestination::HTTP.get(uri)

puts html.truncate(200)

```

The `fd.resolve` should be able to add the trailing slash on the `puts uri` line. I’m afraid it is failing.

---

_[View the full topic](https://meta.discourse.org/t/show-full-post-button-doesnt-work-in-subfolder-installations/390811)._
