# Можете создать пользовательскую посадочную страницу?

**URL:** https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291
**Category:** Support
**Created:** [16.Апрель.2020 20:25:41 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291 "2020-04-16T20:25:41Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![VoskCoin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/voskcoin/32/178564_2.png) [@VoskCoin](https://meta.discourse.org/u/VoskCoin)
#### Post date: [16.Апрель.2020 20:25:41 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/1 "2020-04-16T20:25:41Z")

</div>

Я понимаю, как работает обычная главная страница и как её изменять. Также я разбираюсь в баннерах и закреплении тем.

А что, если я захочу создать уникальную целевую страницу для привлечения людей из определённого региона? Например, хочу выделить на этой странице конкретные темы. Есть ли способ реализовать что-то подобное?

> [@Custom Intro page for discourse](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037):
>
> I have a custom Intro page for the discourse forum to tell new visitors about it benefits.I have designed a page through a plugin and is available at location like www.example/home. I want to make this location(www.example/home) as the default landing location so that when a user hits the Url it lands directly to this location(www.example/home) but at the same time if the root location is accessed from the website itself (ex - clicking on logo that takes you to home location)the same intro page…

Я нашёл эту тему, но она не решила мою проблему.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [16.Апрель.2020 20:30:30 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/2 "2020-04-16T20:30:30Z")

</div>

Нет, на данный момент — нет. Мы обсуждали возможность создания статических страниц в Discourse и, возможно, предложим такую функцию в течение следующих 6 месяцев или около того (извините, не можем быть более конкретными!).

Есть ли что-то конкретное, чего вы хотите добиться (я предполагаю, что пользовательская разметка — один из ключевых моментов), что не было бы покрыто ссылкой на конкретную тему?

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [16.Апрель.2020 21:22:45 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/3 "2020-04-16T21:22:45Z")

</div>

Есть несколько плагинов, которые могут помочь, но неясно, насколько они подходят для достижения желаемого результата.

Этот плагин может помочь, но его автор предупредил, что он может перестать работать в процессе.

> [@Discourse-home-page](https://meta.discourse.org/t/discourse-home-page/139416?u=heliosurge):
>
> discourse-home-page This Discourse plugin allows to set any existing Discourse page (a topic, a category, etc.) as the home page of your Discourse instance. The repo is here: https://github.com/sylque/discourse-home-page This plugin is especially useful when used with [DiscPage](https://github.com/sylque/discpage). Settings discourse\_home\_page\_enabled : set to true to enable the plugin discourse\_home\_page\_path : path of the home page. For example /t/12 will set the home page to topic 12 and /c/5 will set the home page t…

Также есть несколько плагинов, создающих статические страницы, например:

> [@ProCourse Static Pages](https://meta.discourse.org/t/procourse-static-pages/69698?u=heliosurge):
>
> I’ve been doing freelance Discourse customization as my primary gig for almost a year at this point. And one of the most common questions I get is about static pages. “Can I just create a static sales page?” “Where’s a good place to put a FAQ without a discussion around it?” You can likely argue the validity of these questions in most scenarios. The main response being “just close the topic.” But that doesn’t cut it for most. Thus, I decided to create this plugin to make it possible. It’s pret…

И

> [@DiscPage: a plugin to create static pages and insert discussion balloons in the text](https://meta.discourse.org/t/discpage-a-plugin-to-create-static-pages-and-insert-discussion-balloons-in-the-text/136841?u=heliosurge):
>
> warning Deprecated This plugin is no longer maintained and does not work with current versions of Discourse. We recommend removing it from production sites to avoid upgrade issues. Thank you to everyone who used and contributed to this plugin over the years. folded_hands With DiscPage, you create static pages by adding the “Page” category to any topic. You can then insert balloon icons, to allow users to discuss subsections of the page. See [the old demo](http://www.docuss.org/t/discpage-demo/209) [the new demo](https://www.castafiore.org/t/discpage-demo/79) and [the …](https://github.com/sylque/discpage)

---

<div class="post-metadata">

### Author: ![WWNuke](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@WWNuke](https://meta.discourse.org/u/WWNuke)
#### Post date: [03.Январь.2022 00:34:27 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/4 "2022-01-03T00:34:27Z")

</div>

Если мне не возбраняется поднять эту тему, я изучаю возможность создания статической страницы для встраивания клиента fTELNET. Были ли какие-либо дальнейшие разработки, или встроенный JS-скрипт будет работать с DiscPage или ProCourse?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [05.Январь.2022 04:16:00 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/5 "2022-01-05T04:16:00Z")

</div>

Вы уже посмотрели [Landing Pages Plugin 🛩](https://meta.discourse.org/t/landing-pages-plugin/180967)?

---

<div class="post-metadata">

### Author: ![WWNuke](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@WWNuke](https://meta.discourse.org/u/WWNuke)
#### Post date: [05.Январь.2022 22:38:04 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/6 "2022-01-05T22:38:04Z")

</div>

@nathank Нет — попробую!

---

<div class="post-metadata">

### Author: ![Willy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willy/32/499930_2.png) [@Willy](https://meta.discourse.org/u/Willy)
#### Post date: [14.Декабрь.2025 10:00:35 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/7 "2025-12-14T10:00:35Z")

</div>

И что в итоге произошло? Мне нужно использовать балансировщик нагрузки или для этого есть встроенная функция? С момента вашего упоминания прошло почти 5 лет, и сейчас это можно сделать только с помощью плагинов, но, похоже, эти плагины часто ломают систему.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [14.Декабрь.2025 17:25:56 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/8 "2025-12-14T17:25:56Z")

</div>

У нас теперь есть функция публикации страниц, ознакомьтесь с ней: [Page Publishing](https://meta.discourse.org/t/page-publishing/151971?u=awesomerobot)

---

<div class="post-metadata">

### Author: ![Willy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willy/32/499930_2.png) [@Willy](https://meta.discourse.org/u/Willy)
#### Post date: [15.Декабрь.2025 06:11:17 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/9 "2025-12-15T06:11:17Z")

</div>

Это не целевая страница.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [15.Декабрь.2025 13:12:59 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/10 "2025-12-15T13:12:59Z")

</div>

Интересно… а что, если использовать компонент темы для перенаправления `/` на опубликованную страницу? Хотя не уверен, сколько вещей при этом сломается.

---

<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: [15.Декабрь.2025 13:16:47 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/11 "2025-12-15T13:16:47Z")

</div>

Это заставляет меня вспомнить о функции пользовательской главной страницы. Не уверен, есть ли соответствующая тема в документации. Та тема, которую я помню, находится здесь:

> [@Using the new custom-homepage feature](https://meta.discourse.org/t/using-the-new-custom-homepage-feature/302496):
>
> Trying out the new custom-homepage feature: [https://github.com/discourse/discourse/pull/26291](https://github.com/discourse/discourse/pull/26291) tada@pmusaraj I wonder what’s the best approach to add components? So adding the custom-homepage modifier enables the discovery.custom route and shows a default info alert, rendered on the custom-homepage outlet: I add a component to the outlet and it renders instead: However, when I add more than one component, I get an error: I can add …

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [15.Декабрь.2025 13:20:59 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/12 "2025-12-15T13:20:59Z")

</div>

Документация, полагаю, находится по адресу [DEV: allow themes to render their own custom homepage by pmusaraj · Pull Request #26291 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/26291). Я не думаю, что для этого есть отдельная тема с тегом #Documentation.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [15.Декабрь.2025 14:02:19 UTC](https://meta.discourse.org/t/can-you-create-a-custom-landing-page/148291/13 "2025-12-15T14:02:19Z")

</div>

Это так, если вы направляете людей на эту страницу 😃

Если это должна быть главная страница, также возможно создать полностью кастомные главные страницы, используя outlet custom-homepage в теме: [DEV: allow themes to render their own custom homepage by pmusaraj · Pull Request #26291 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/26291)… При таком подходе вы сможете формировать кастомный контент в зависимости от любых необходимых условий. Например, вы можете показывать разный контент, используя параметр запроса, такой как `/?src=ad-campaign`.
