A user asks if it’s possible to redirect internal links from an outdated Discourse article to a new one, seeking an automated solution that hides the redirect from users. Another user suggests using the admin’s admin/customize/permalinks feature, but the original poster struggles to make it work, noting the page is inaccessible. The discussion clarifies that the permalink feature is intended for redirecting URLs, not for internal topic redirection. The user expresses frustration that this seemingly simple task isn’t straightforward. A later post reveals that deleting the old topic and using permalinks can achieve the redirect, though admins may still see the deleted topic. knebb, watchmanmonitor, codinghorror, Stephen, techAPJ, pfaffman, Tschemb}
we are using Discourse as KnowledgeBase. As articles evolve we frequently merge some tickets. But obviously links from other articles exists to both articles.
Is there a way to redirect from one article to another?
I mean, yes of course I can simply create the link as content of the old ticket linking to the new one but I am thinking of an autmated redirect (invisble for users)
got it so far. I am on the page you told me. But looks like I am too dumb to use it.
Again, I have an thread with the following URL: https://help.domain.com/t/old-thread-title/6418
It has outdated content on it and I want it to link to a newer thread with URL: https://help.domain.com/t/new-thread-title/11345
So I enterd in the admin’s permalink site on the left the first URl from above and entered the thread-ID of 11345 in the second field.
Trying to access the URL still shows old contend. Tried with a second browser where I am not logged in and did a “Reload” as well. Still old content.
Did I get it right now? I can not use this feature to redirect from “inside” Discourse? Well, this explains why it is not working.
In this case back to my original question:
I have a topic which is outdated. I need to replace. I have a new article which replaces the old one. There are several links in the forum to the old article. I want these (internal) links now to point to the new article.
Is this possible?
Note: Yes, I can edit the old thread and just place a link to the new one there… but that’s not really nice…
I’m hijacking the thread because I want to do the exact same thing. Also I’m sure knebb will not get angry as I follow up his original plan (in the same company)
So from my understanding the permalinks should do the redirection from
https://help.domain.com/t/old-thread-title/6418
to https://help.domain.com/t/new-thread-title/11345
but it does not. I want to transfer the browser call of the first URL to the second one. No internal links direct access to the article.
Like knebb I’m a little bit confused, that this simple redirection is not asked often and apparently not possible.
Found the solution. We need to delete the duplicate (in my example old-thread-title/6418) and use permalinks. Then admins will not realize the redirection as admins will also see deleted topics. For our normal users the redirection is working.