# Wrong url rendering for guidelines in flag modal

**URL:** https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002
**Category:** Bug
**Tags:** fixed
**Created:** [August 23, 2024, 12:09am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002 "2024-08-23T00:09:30Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [August 23, 2024, 12:09am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/1 "2024-08-23T00:09:30Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/c/3/c/c3ccd215c20c1d84328b7d8dbe2d5f9ef8f75871.jpeg)

[https://meta.discourse.org/t/group-owner-admin-or-system/%{base\_path}/guidelines](https://meta.discourse.org/t/group-owner-admin-or-system/%25%7Bbase_path%7D/guidelines)

which redirect to 404 page

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [August 23, 2024, 1:47am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/2 "2024-08-23T01:47:09Z")

</div>

Is that on your own site or on Meta? IIRC this was fixed at least semi-recently, and I cannot reproduce.

---

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [August 23, 2024, 2:11am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/3 "2024-08-23T02:11:54Z")

</div>

both on my site and meta, I thought meta is using the latest build?

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [August 23, 2024, 3:06am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/4 "2024-08-23T03:06:17Z")

</div>

~~I can’t reproduce here on Meta, which is why I tried to clarify.~~

EDIT: Interesting, It’s not reproducible on Mobile, but it appears on Desktop.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 23, 2024, 4:30am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/6 "2024-08-23T04:30:41Z")

</div>

Thanks for pointing this out @th21 - I can reproduce this too.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 30, 2024, 8:07am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/14 "2024-08-30T08:07:27Z")

</div>

I think this was a regression from this [Base\_path not being substituted in some cases](https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142)

But I believe this has now been fixed (again 🙂) 🎉

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

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 2, 2024, 8:08am UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002/15 "2024-09-02T08:08:17Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
