Problem with permalinks

I’m seeing some odd behavior with permalinks on our site. I have a permalink set up to https://support.glitch.com/office-hours which works from a fresh session (in an incognito window, for instance, or even just a new tab) By “works” I mean it returns a 301 redirect to the location configured in /admin/customize/permalinks as I’d expect

I have that link inside a different post on the forum, though, and when that link is followed I get this:

The correct page loads on refresh, but as you might imagine this looks pretty unprofessional to our members. Is there some reason I don’t know about that would prevent that from working?

Permalinks are intended to remap inbound links to your Discourse instance, and are useful when migrating from another platform. They catch inbound traffic and reroute those requests to the new destination, which is why they work when you hit refresh.

They’re not going to work within Discourse itself, please use the correct internal URL, rather than the permalink that you’ve created which redirects to it.

Yes, these are for external URL redirection, there is no concept of internal redirection.

이제 여기서 내부 리다이렉트가 가능하다고 생각합니다. @tshenry, 맞죠?

그렇다고 생각합니다. 예를 들어 Meta는

https://meta.discourse.org/support

을 지원 카테고리로의 고정 링크(permalink)로 설정해 두었습니다.

현재 다음과 같은 방식으로 고정 링크를 설정할 수 있는 것으로 보입니다:

답변해 주셔서 감사합니다, 여러분. 저는 더 이상 해당 Discourse 인스턴스를 관리하지 않고 있고, 이 기능을 더 이상 "필요"로 하지 않지만, 해당 기능이 존재한다는 사실을 알면 좋겠습니다.

@tshenry, 말씀하신 예시는 위에서 “외부” 링크로 논의되었던 내용과 동일한 것 같지 않나요? 외부 소스에서 요청을 받아 올바른 Discourse URL로 리디렉션하는 방식이죠. 우리가 하려던 것은, 예를 들어 https://meta.discourse.org/support를 https://github.com/discourse/discourse/issues로 리디렉션하는 것과 유사한 것이었습니다(물론 해당 곳에서 이슈 보고를 받는다면요). 제 기억에 따르면, 사이트 외부에서 들어오는 사용자에게는 잘 작동했지만, Discourse 페이지 내 링크를 통해 첫 페이지 로딩 시에는 리디렉션이 실패했습니다.

정리해 주셔서 감사합니다! 말씀하신 내용이 적용된 예시가 실제로 있는 것 같습니다:

https://meta.discourse.org/guide

기대하신 대로 제대로 작동하는 것처럼 보이나요?

하, 처음에는 그 페이지에 예시가 있다는 뜻인 줄 알았거든요 :wink: 그 자체가 예시라는 걸 깨달은 후, 네, 우리가 원했던 대로 작동하는 것 같네요. 감사합니다!!