# Custom Intro page for discourse

**URL:** https://meta.discourse.org/t/custom-intro-page-for-discourse/53037
**Category:** Development
**Created:** [11월 17, 2016, 7:51오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037 "2016-11-17T19:51:10Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Aman\_Jagga](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@Aman\_Jagga](https://meta.discourse.org/u/Aman_Jagga)
#### Post date: [11월 17, 2016, 7:51오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/1 "2016-11-17T19:51:10Z")

</div>

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 should not be shown.

Any suggestions what could the best possible way to do this?

I don’t want to make any change in discourse code base I will prefer doing it through plugin

---

<div class="post-metadata">

### Author: ![Aman\_Jagga](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@Aman\_Jagga](https://meta.discourse.org/u/Aman_Jagga)
#### Post date: [11월 18, 2016, 11:01오전 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/2 "2016-11-18T11:01:30Z")

</div>

I can see many topics over the Internet with the similar question but none of them is actually answered.So I am tagging some of the senior members of the forum if they could give any clue to the solution otherwise I will close this topic.

@codinghorror @sam @eviltrout @gdpelican @simon @zogstrip @Falco

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [11월 18, 2016, 2:19오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/3 "2016-11-18T14:19:50Z")

</div>

@Aman_Jagga, a word of advice: you posted your query only 18 hours ago, then proceeded to mention most of the developers 15 hours later. That is a very short period of time. Please consider that there are many things going on here at Meta, and the developers are _actively developing_ Discourse, not staring at the site waiting for queries. Please keep that in mind and have a little patience when asking a question.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11월 18, 2016, 4:35오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/4 "2016-11-18T16:35:40Z")

</div>

> [@Aman\_Jagga](#):
>
> Any suggestions what could the best possible way to do this?

I would suggest that you use a custom field associated to the user which will track if you’ve shown them the intro. If you haven’t, then redirect to /intro. If you have, then do nothing.

---

<div class="post-metadata">

### Author: ![Aman\_Jagga](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@Aman\_Jagga](https://meta.discourse.org/u/Aman_Jagga)
#### Post date: [11월 18, 2016, 5:25오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/5 "2016-11-18T17:25:03Z")

</div>

> [@zogstrip](#):
>
> I would suggest that you use a custom field associated to the user which will track if you’ve shown them the intro. If you haven’t, then redirect to /intro. If you have, then do nothing.

@zogstrip Thanks for the suggestion but I forgot to mention that in any case I am not showing Intro page to the logged in users,I will only show Introduction to non- logged in users otherwise will redirect to topics.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11월 18, 2016, 5:26오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/6 "2016-11-18T17:26:15Z")

</div>

Then you need to store that in a cookie and/or localStorage.

---

<div class="post-metadata">

### Author: ![Aman\_Jagga](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@Aman\_Jagga](https://meta.discourse.org/u/Aman_Jagga)
#### Post date: [11월 18, 2016, 5:51오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/7 "2016-11-18T17:51:26Z")

</div>

@jomaxro… It isn’t that I haven’t done my homework.I have found many similar topics posted in the past but none of them got a solution.To give you an example these are few links  
[https://meta.discourse.org/t/custom-landing-home-page/19478](https://meta.discourse.org/t/custom-landing-home-page/19478)  
[https://meta.discourse.org/t/redirecting-to-a-new-page-when-visiting-the-root-discourse-page/19428](https://meta.discourse.org/t/redirecting-to-a-new-page-when-visiting-the-root-discourse-page/19428)  
[http://stackoverflow.com/questions/40447750/change-the-discourse-default-landing-page-to-a-custom-page](http://stackoverflow.com/questions/40447750/change-the-discourse-default-landing-page-to-a-custom-page)

and there are many more links also but I don’t have a bookmark of the url’s

That’s why I thought of asking the core members of the discourse.Apologies if this is not the the right way to ask.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [11월 18, 2016, 6:02오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/8 "2016-11-18T18:02:14Z")

</div>

If you setup your forum so that only logged in users can see the content, you could put your customization on the login page. That would give you something close to how Twitter and Facebook work.

Another easy way to do it would be to put your forum on a subdomain and put the custom home page on a separate site that is on the main domain.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11월 18, 2016, 6:02오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/9 "2016-11-18T18:02:49Z")

</div>

> [@simon](#):
>
> Another easy way to do it would be to put your forum on a subdomain and put the custom home page on a separate site that is on the main domain.

That’s the most common approach. And the easier too.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [11월 18, 2016, 8:00오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/10 "2016-11-18T20:00:50Z")

</div>

> [@Aman\_Jagga](#):
>
> It isn’t that I haven’t done my homework.I have found many similar topics posted in the past but none of them got a solution.

@Aman_Jagga, just to be clear I did not suggest that you failed to do your research, nor did I suggest anything for that matter. I was simply suggesting that 15 hours is a short period of time to start mentioning people or bumping a topic.

If you were a hosted customer and your site was completely down, then sure, one can expect a response quickly. But for a dev request that is non-critical to your site being live expecting an instant response is unreasonable.

---

<div class="post-metadata">

### Author: ![Tony\_Grant](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tony_grant/32/121393_2.png) [@Tony\_Grant](https://meta.discourse.org/u/Tony_Grant)
#### Post date: [11월 25, 2016, 7:37오전 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/11 "2016-11-25T07:37:48Z")

</div>

Not sure if this is the same issue but I am really struggling to work out how to get any form of intro/welcome message showing up on my self hosted digital ocean forum. We went through the wizard, put the details where it asked but it doesn’t show up when looking at the site from the ouside. I had a comment by a visitor that the site is just a list of topics with no real indication of what the purpose is or what to do next, like a call to action I guess. How do I set this please?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [11월 25, 2016, 8:38오전 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/12 "2016-11-25T08:38:18Z")

</div>

Banner a post, or simply edit the welcome topic.

---

<div class="post-metadata">

### Author: ![ArMK](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@ArMK](https://meta.discourse.org/u/ArMK)
#### Post date: [11월 29, 2017, 11:22오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/13 "2017-11-29T23:22:11Z")

</div>

Hi @Falco,

For having a separate home page, should that home page be hosted on the same server as the one the Discourse Forum is installed on? I was planning on creating a custom home page using a WordPress Theme and hosting it on another server, and have a link in the home page pointing to the Discourse Forum page, with the forum on a sub-domain as you have suggested.

My Discourse Forum is installed on DigitalOcean.

Thanks!

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [11월 30, 2017, 12:52오후 UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037/14 "2017-11-30T12:52:29Z")

</div>

When using subdomains, you can host both Discourse and the homepage on the same server, but is slightly more complex. Here are instructions on how to set this up:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

Using separate servers requires no special setup at all 🙂
