# Data Explorer URL 변경 후 기존 게시물의 깨진 링크

**URL:** https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815
**Category:** UX
**Tags:** data-explorer, automation, fixed
**Created:** [2월 23, 2026, 4:47오후 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815 "2026-02-23T16:47:26Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2월 23, 2026, 4:47오후 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/1 "2026-02-23T16:47:26Z")

</div>

자동화 플러그인으로 생성된 예약된 [Data Explorer](https://meta.discourse.org/t/32566?silent=true) 결과가 포함된 메시지 및 게시물 내 링크가 변경되었습니다. 새 게시물에는 올바른 URL이 포함되도록 텍스트가 업데이트되었지만\[1\], 기존 게시물에 있는 모든 링크가 깨집니다.

쿼리로 이동할 수 있도록 리다이렉트를 설정할 수 있을까요? 그렇지 않으면

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/8/6/58618fcf48c6f829b456ccffc505cac113933d16.png)

* * *

1. 번역이 업데이트된 후

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [2월 23, 2026, 11:25오후 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/3 "2026-02-23T23:25:17Z")

</div>

오늘 기존 링크에 대한 리다이렉트를 설정할게요. 사람들이 DE 링크를 북마크하거나 사이드바에 추가하는 경우가 얼마나 많은지 놓치고 있었네요. 죄송합니다.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [2월 24, 2026, 1:36오전 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/5 "2026-02-24T01:36:55Z")

</div>

수정 사항이 올라왔습니다. 오늘 퇴근 전에 머지되길 바랍니다:

> <https://github.com/discourse/discourse/pull/38004>
>
> Followup e14af1c251c6206ec627bd7a72c52c914fe4c1d9
> 
> People often bookmark data …explorer queries or add them to their
> sidebar. In the previous commit, we changed the URLs for queries to
> follow the admin plugin URL guidelines, but didn't redirect old URLs to
> the new ones.
> 
> This commit adds those redirects, so that old URLs will still
> function and users won't lose access to their bookmarked queries.
> 
> Also changes the Edit label to View on the query list to make
> it clearer that you can Run or Edit the query in the same place.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2월 24, 2026, 2:21오후 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/6 "2026-02-24T14:21:46Z")

</div>

음. URL이 변경되기 전에 자동화에서 보낸 메시지의 링크는 `<a href='https://my-forum.discourse.group/admin/plugins/explorer/queries/79'>데이터 탐색기에서 쿼리 보기</a>`입니다.

더 이상 오류 페이지로 이동하지 않습니다 👍. 이제 `https://my-forum.discourse.group/admin/plugins/discourse-data-explorer/queries`로 이동합니다. `https://my-forum.discourse.group/admin/plugins/discourse-data-explorer/queries/79`로 이동하기를 바랐습니다.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [2월 24, 2026, 11:10오후 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/7 "2026-02-24T23:10:31Z")

</div>

음, 어제는 그 형식을 테스트해 봤는데… 한 번 더 확인해서 수정하겠습니다. 특정 쿼리로 이동해야 한다는 데 동의합니다.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [2월 25, 2026, 2:49오전 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/12 "2026-02-25T02:49:03Z")

</div>

흥미로운 점은, 쿼리 ID가 포함된 기존 URL 중 하나를 직접 입력하면 정상적으로 동작했지만, 해당 URL이 포함된 링크를 클릭하면 `/queries` 페이지로 리다이렉트되었다는 것입니다. 수정 내용은 다음과 같습니다:

> <https://github.com/discourse/discourse/pull/38047>
>
> Followup 174ad83901a6641248de133d267dc6ae2364d818
> 
> We had the empty route file… \`plugins/discourse-data-explorer/assets/javascripts/discourse/routes/admin-plugins/explorer/queries.js\`
> in the PR for the above commit but removed it before merge....
> however it was actually necessary to properly redirect
> old DE query links (not a direct URL in the browser address bar)
> to the new query page e.g. \`/admin/plugins/explorer/queries/:id\`
> to \`/admin/plugins/discourse-data-explorer/queries/:id\`
> 
> This commit adds the empty route file back to make this work.
> 
> The root cause here is that when Ember's resolver looks up a route
> handler for \`adminPlugins.explorer.queries\`, it searches for a module with
> the suffix routes \`/admin-plugins/explorer/queries\`. Since no file
> queries.js exists at that path, the resolver's suffix trie falls back to
> \`routes/admin-plugins/explorer/queries/index\` — finding queries/index.js
> and using its class (\`AdminPluginsExplorerQueriesIndexRoute\`) as the
> handler for the parent queries route.
> 
> This means when the router transitions to
> \`adminPlugins.explorer.queries.details\` it first enters the parent
> queries route, which runs the index handler's \`beforeModel\` —
> redirecting to \`/admin/plugins/discourse-data-explorer/queries\` and
> aborting the transition before the details route is ever reached.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [3월 21, 2026, 6:04오전 UTC](https://meta.discourse.org/t/broken-links-in-existing-posts-after-data-explorer-url-change/396815/14 "2026-03-21T06:04:35Z")

</div>

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