# Broken links in subfolder installs

**URL:** <https://meta.discourse.org/t/broken-links-in-subfolder-installs/100355>\
**Category:** Bug\
**Created:** [October 24, 2018, 1:25pm UTC](https://meta.discourse.org/t/broken-links-in-subfolder-installs/100355 "2018-10-24T13:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [October 24, 2018, 1:25pm UTC](https://meta.discourse.org/t/broken-links-in-subfolder-installs/100355/1 "2018-10-24T13:25:26Z")

</div>

The following templates reference `/my/...` for the URL

- discourse\_narrative\_bot.advanced\_user\_narrative.start\_message
- discourse\_narrative\_bot.advanced\_user\_narrative.change\_topic\_notification\_level.reply
- system\_messages.welcome\_tl1\_user.text\_body\_template

Other translations are handling this correctly by using `%{base_url}/my/...` so that it puts the correct domain/subfolder in the URL. Examples below:

- badges.autobiographer.description
- badges.autobiographer.long\_description
- system\_messages.email\_revoked.text\_body\_template
- system\_messages.new\_user\_of\_the\_month.text\_body\_template
- system\_messages.usage\_tips.text\_body\_template

I uncovered all of these searching for `/my/` in the templates, there could be others.

I’ve modified the templates in question on our installation to have `/community/my/...` as I didn’t want to assume the `%{base_url}` variable would be available. Which gets our community around it for now.

---

_[View the full topic](https://meta.discourse.org/t/broken-links-in-subfolder-installs/100355)._
