# How to set a custom route page as the homepage

**URL:** https://meta.discourse.org/t/topic/406418
**Category:** Support
**Created:** [June 30, 2026, 10:15am UTC](https://meta.discourse.org/t/topic/406418 "2026-06-30T10:15:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![singi2016cn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/singi2016cn/32/532755_2.png) [@singi2016cn](https://meta.discourse.org/u/singi2016cn)
#### Post date: [June 30, 2026, 10:15am UTC](https://meta.discourse.org/t/topic/406418/1 "2026-06-30T10:15:49Z")

</div>

I have customized the route `/home` and created a new homepage. Now I want users to be redirected to my `/home` page when they click on `/`. Currently, it defaults to redirecting to `/latest`.

What is the best way to modify this?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [June 30, 2026, 10:39am UTC](https://meta.discourse.org/t/topic/406418/2 "2026-06-30T10:39:52Z")

</div>

Are you using the `custom_homepage` approach? It’s our recommended method discussed [here](https://meta.discourse.org/t/using-the-new-custom-homepage-feature/302496).

It works like this:

**Step 1 — Enable the modifier in your theme’s `about.json`:**

```plaintext
{
  "name": "My Custom Homepage Theme",
  "modifiers": {
    "custom_homepage": true
  }
}

```

**Step 2 — Create a connector for the `custom-homepage` outlet or use Block System**

```plaintext
javascripts/discourse/connectors/custom-homepage/my-homepage.gjs

```

```plaintext
import Component from "@glimmer/component";

export default class MyHomepage extends Component {
  <template>
    {{! Your custom homepage content goes here }}
    <div class="my-custom-homepage">
      <h1>Welcome!</h1>
    </div>
  </template>
}

```

Block system:

> [@Homepage Blocks](https://meta.discourse.org/t/homepage-blocks/347066):
>
> information_sourceSummary Build a custom homepage with configurable block componentshammer_and_wrenchRepository [Manuel Kostka / Discourse / Blocks / Homepage Blocks · GitLab](https://gitlab.com/manuelkostka/discourse/blocks/homepage-blocks)questionInstall Guide [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component This component combines features from [Right Sidebar Blocks](https://meta.discourse.org/t/right-sidebar-blocks/231067) and the [custom homepage route](https://github.com/discourse/discourse/pull/26291). It initializes the route and…

The `/home` method is outdated.

---

<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: [June 30, 2026, 11:46am UTC](https://meta.discourse.org/t/topic/406418/3 "2026-06-30T11:46:35Z")

</div>

At the same time, you’d want to make sure you’ve set your own (and for users) ‘default home page’ to the `(default)` option in Preferences \> Interface.

 ![Screenshot_20260630_194421_Chrome](https://global.discourse-cdn.com/meta/original/4X/b/1/d/b1dd6add5dcedd489ecb244f877415878d6e1709.jpeg)

So on Meta, on the Meta Branded theme, because I selected ‘Latest’, I do not get the custom homepage that was created via the method in @chapoi 's post, instead getting the latest topic view.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 30, 2026, 11:47am UTC](https://meta.discourse.org/t/topic/406418/4 "2026-07-30T11:47:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
