# User-specific Discourse home page

**URL:** https://meta.discourse.org/t/user-specific-discourse-home-page/160229
**Category:** Feature
**Created:** [August 9, 2020, 1:29am UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229 "2020-08-09T01:29:48Z")
**Posts on this page:** 9
**Page:** 1

<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: [August 9, 2020, 1:29am UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/1 "2020-08-09T01:29:48Z")

</div>

I would like a way to give individual users the ability to have any page as their home page.

### Background

Currently, we can set the default homepage to be one of several views, and users can personalise this:

> [@User preference for default home page](https://meta.discourse.org/t/user-preference-for-default-home-page/74171):
>
> Users can now set their own preference for their homepage. If you’d rather land on New instead of Latest when going to forum.example.org you’ll want this setting. Head to user preferences → interface and select the home page you want Implemented per: [Remember the selected view / tab on homepage - #20 by notriddle](https://meta.discourse.org/t/remember-the-selected-view-tab-on-homepage/16982/20) heart to @notriddle for implementing

Using a plugin by @syl, the default home page can be any page within the Discourse instance:

> [@Discourse-home-page](https://meta.discourse.org/t/discourse-home-page/139416):
>
> 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…

Alternatively, using a theme component by @pfaffman can allow you to use any page:

> [@Allow Arbitrary Homepage (by Jay Pfaffman)](https://meta.discourse.org/t/allow-arbitrary-homepage-by-jay-pfaffman/152459):
>
> [https://github.com/pfaffman/discourse-allow-arbitrary-homepage](https://github.com/pfaffman/discourse-allow-arbitrary-homepage) Well, @hellekin thought that this deserved its own topic. I’m not quite sure it’s ready for such, but here it is. I’ll have a look at stuff early next week and try to make sure that it looks like something that other people could really use. wink As he said:

### My use-case

In our login-only instances, we have groups that almost exclusively use the instance for their own private category. I’d like to make that category their homepage. There are a whole bunch of potential groups like this, each with their own category. This is an alternative to having an unmanageable number of instances, and will still allow access to the wider forum when needed.

### The way forwards

What would be the best way to get this done on a per-user basis, combining the existing per-user functionality with the ability to use alternate pages?

Doing this per group (such as @neil’s [Groups can set category and tag notification levels](https://meta.discourse.org/t/groups-can-set-category-and-tag-notification-levels/160069)) would be absolutely lovely.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 9, 2020, 10:24am UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/2 "2020-08-09T10:24:20Z")

</div>

That’s an interesting idea.

Sounds like you are going to need to:

- elaborate on your requirement detailing the exact desired functional behaviour for all use cases and any additional UI (the examples are useful but you need to be specific about what _you_ want). I have an idea but you’d need to state it in black and white.

Then:

- persuade Discourse team to include it OR
- get a freelance developer to build it for you. They might also help you develop your requirement.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 9, 2020, 11:43pm UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/3 "2020-08-09T23:43:37Z")

</div>

So what you want is if someone is a member of a group you’ll change home to the category associated with that group? The theme component that I developed is a good start for doing that, however, it appears that it’s broken. Right now, I’m the only one using it (I mean, I am the only user, so not even more users than me are using it on my site), so it’s not been a priority to fix it.

If it worked, it would apply the `home url override` only for members of a group, so it should be reasonably easy to modify it to support multiple groups and home pages, given that it’s easy to resolve whatever the problem is. 🙂

If you’ve got a budget, feel free to contact me or post in #Marketplace.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [September 3, 2020, 7:54pm UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/4 "2020-09-03T19:54:54Z")

</div>

Just in case anyone is interested, I built this plugin that uses your Primary Group to set your homepage to be the Category that’s set up for that Primary Group, resulting in a “User-specific” (aka Group specific) homepage.

[https://github.com/merefield/discourse-category-home](https://github.com/merefield/discourse-category-home)

It’s not battle tested and I’m not sure if I will support it unless someone wants to fund the work, but feel free to install it and try it out :). If you like it, at least ⭐ it 😉

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [September 4, 2020, 1:28pm UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/5 "2020-09-04T13:28:35Z")

</div>

This will be very useful for a site I’m working on, if the site takes off I’ll be happy to help with the maintenance. Thanks Rob!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 5, 2020, 1:44am UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/6 "2020-09-05T01:44:49Z")

</div>

I was working on a theme component to do the same!

---

<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: [July 30, 2021, 7:52am UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/7 "2021-07-30T07:52:28Z")

</div>

I see that you have done so now:

[https://github.com/pfaffman/discourse-custom-homepage-for-groups](https://github.com/pfaffman/discourse-custom-homepage-for-groups)

I look forward to having a play!

---

<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: [July 31, 2021, 3:22am UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/8 "2021-07-31T03:22:07Z")

</div>

It works nicely!

The only issue that I see with it is not having an easy path back to the ‘standard’ homepage.

This can be mitigated in a few ways, ensuring that there is a prominent link to /latest or /categories as you see fit.

---

<div class="post-metadata">

### Author: ![kOS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kos/32/441826_2.png) [@kOS](https://meta.discourse.org/u/kOS)
#### Post date: [October 31, 2024, 12:23pm UTC](https://meta.discourse.org/t/user-specific-discourse-home-page/160229/9 "2024-10-31T12:23:44Z")

</div>

Hi, very cool feature to allow “clubs”.  
I wonder how we can point towards published pages. Is that possible?
