# Перенаправление старых ссылок форума на Discourse

**URL:** <https://meta.discourse.org/t/redirecting-the-old-forum-urls-to-the-discourse/163228>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [07.Сентябрь.2020 07:51:56 UTC](https://meta.discourse.org/t/redirecting-the-old-forum-urls-to-the-discourse/163228 "2020-09-07T07:51:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [10.Сентябрь.2020 12:32:48 UTC](https://meta.discourse.org/t/redirecting-the-old-forum-urls-to-the-discourse/163228/5 "2020-09-10T12:32:48Z")

</div>

Я написал плагин для этого.

> **[GitHub - paviliondev/discourse-articles](https://github.com/paviliondev/discourse-articles)**
>
> Contribute to paviliondev/discourse-articles development by creating an account on GitHub.

> <https://github.com/paviliondev/discourse-articles/blob/8a79f4eeff6399cfe1cbbd738a847080c8e8fef2/plugin.rb#L17>

Измените строку выше на:  
` get '/question/:slug', to: redirect('/t/%{slug}')`

---

_[View the full topic](https://meta.discourse.org/t/redirecting-the-old-forum-urls-to-the-discourse/163228)._
