# Discourse-home-page

**URL:** <https://meta.discourse.org/t/discourse-home-page/139416>\
**Category:** Plugin\
**Created:** [January 22, 2020, 12:50pm UTC](https://meta.discourse.org/t/discourse-home-page/139416 "2020-01-22T12:50:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![syl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/syl/32/98883_2.png) [@syl](https://meta.discourse.org/u/syl)\
**Post date:** [January 22, 2020, 12:50pm UTC](https://meta.discourse.org/t/discourse-home-page/139416/1 "2020-01-22T12:50:49Z")

</div>

# 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 to category 5.

### Drawback

When the home page points to a topic, the url in the address bar is changed to the topic url.

Example: if your Discourse url is `www.mydiscourse.org` and you set the home page to `/t/mytopic/12` , then any user coming to `www.mydiscourse.org` will see `www.mydiscourse.org/t/mytopic/12` in the address bar.

### Warning

This plugin ia based on a hack. There is no certainty it will keep working in future versions of Discourse, even though I’ll do my best to maintain it.

There is [this line](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/routes/forgot-password.js#L13) in Discourse which might cause an issue, but I couldn’t get my Discourse instance to run through it. Please let me know if you can.

---

_[View the full topic](https://meta.discourse.org/t/discourse-home-page/139416)._
