# Site relative paths rewritten client side incorrectly with subfolder

**URL:** <https://meta.discourse.org/t/site-relative-paths-rewritten-client-side-incorrectly-with-subfolder/192947>\
**Category:** Bug\
**Tags:** subfolder\
**Created:** [June 7, 2021, 5:25am UTC](https://meta.discourse.org/t/site-relative-paths-rewritten-client-side-incorrectly-with-subfolder/192947 "2021-06-07T05:25:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![vincentp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vincentp/32/110063_2.png) [@vincentp](https://meta.discourse.org/u/vincentp)\
**Post date:** [June 7, 2021, 5:25am UTC](https://meta.discourse.org/t/site-relative-paths-rewritten-client-side-incorrectly-with-subfolder/192947/1 "2021-06-07T05:25:50Z")

</div>

This was working correctly, but a recent update seems to have broken it again

Adding a relative link

```markdown
[Full version 1.9.2 change history](/downloads/continuaci/continua-ci-version-history-v192)

```

results in the link being rendered correctly, and the markup is correctly, however when clicking on it the link turns into

[https://www.finalbuilder.com/forums/downloads/continuaci/continua-ci-version-history-v192](https://www.finalbuilder.com/forums/downloads/continuaci/continua-ci-version-history-v192)

Note our discourse instance is installed as a subfolder install under **forums**

It does look like there were some changes in this area earlier this year which might be related.

[https://github.com/discourse/discourse/pull/12135](https://github.com/discourse/discourse/pull/12135)

Currently running 2.8 beta1 - [Commits · discourse/discourse · GitHub](https://github.com/discourse/discourse/commits/28e201f3919e23d734a5414f18dbf83d1d52a5e0)

---

_[View the full topic](https://meta.discourse.org/t/site-relative-paths-rewritten-client-side-incorrectly-with-subfolder/192947)._
