# 功能请求：为首页和其他页面启用独立的\<title\>

**URL:** <https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882>\
**Category:** Feature\
**Created:** [2018年十二月10日 09:59 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882 "2018-12-10T09:59:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uhl\_Markus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/uhl_markus/32/123791_2.png) [@Uhl\_Markus](https://meta.discourse.org/u/Uhl_Markus)\
**Post date:** [2018年十二月10日 09:59 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/1 "2018-12-10T09:59:45Z")

</div>

Hey there,

we’re currently migrating a huge forum to Discourse and I realized that there is only one single “Title” that I can set. This title will both

- be the actual, SEO relevant \<title\> of the start page and
- be added to any category and thread \<title\>

For SEO purposes, the \<title\> of every page should be as descriptive as possible and should therefore contain the most relevant keywords.  
So for better rankings, the title of the **homepage** should contain SEO-relevant keywords. Like “Blabla Forum - the best advise around cats and cooking”.  
However, this will be automatically added to **thread** titles as well, so the result is for example an ugly looking, much too long “How do I best cook a young black cat, given that I am not yet experienced? - Blabla Forum - the best advise around cats and cooking”.

You see the point?

It would therefore be awesome, if we would be able to have separate settings for the homepage title and a string that will be added to the titles of the rest of the forum.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年十二月11日 04:15 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/2 "2018-12-11T04:15:25Z")

</div>

I like this suggestion!

On meta our home page title is: “Discourse Meta” and our site description is “Discussion about the next-generation open source Discourse forum software”

I think it is reasonable to amend it so our home page title is “title” + “some other string”

At the moment when searching for meta Discourse you get:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/2/e246e066b966989d4d15ddefd383384927c62311.png)

I think it would be cool if it said:

`Discourse Meta - Official community support forum`

There is lots of precedent here, for example Stack Overflow has:

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/9/c941092469f0a6a56f692130318a6d9121a17aeb.png)

@codinghorror what are your thoughts on adding “short site description” site setting? Description is too long here, its like we need a “short description”

I think this has lots of impact on the way your site shows up in Google and noticed it a lot over the years.

---

<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:** [2018年十二月11日 04:20 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/3 "2018-12-11T04:20:17Z")

</div>

Probably OK but wizard must be amended to fully support it on day zero.

---

<div class="post-metadata">

**Author:** ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)\
**Post date:** [2018年十二月17日 11:22 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/6 "2018-12-17T11:22:56Z")

</div>

New site setting `short site description` has been added for this purpose. It is going to be appended to the site title on home page like this: `Site Title - Short Site Description`

[https://github.com/discourse/discourse/commit/dbbadb5c357bc23daf1fa732f8670e55dc28b7cb](https://github.com/discourse/discourse/commit/dbbadb5c357bc23daf1fa732f8670e55dc28b7cb)

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年十二月17日 17:35 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/7 "2018-12-17T17:35:00Z")

</div>

I just set it up here 😊

Looks like it is mostly working, but we are still fighting with JavaScript a bit, cause when I visit [https://meta.discourse.org](https://meta.discourse.org) I see it, but then it flashes away.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2019年五月7日 07:49 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/8 "2019-05-07T07:49:58Z")

</div>

@maja can you spend say 10-20 minutes seeing if you can get rid of the “flash” where the title changes when you visit [meta.discourse.org](http://meta.discourse.org) (hit reload)

If it is looking too messy just feel free to close this, cause the core request works properly:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/8/d89c45a4527135b780da6e046e5953f57dba5b0a.png)

---

<div class="post-metadata">

**Author:** ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)\
**Post date:** [2019年五月10日 10:54 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/9 "2019-05-10T10:54:34Z")

</div>

Fixed in [FIX: add short description to title on client side · discourse/discourse@77af097 · GitHub](https://github.com/discourse/discourse/commit/77af097ce094331251ff6ed26f84c5ff32304055)

---

<div class="post-metadata">

**Author:** ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)\
**Post date:** [2019年五月10日 10:54 UTC](https://meta.discourse.org/t/feature-request-enable-separate-title-for-start-page-and-the-rest-of-the-pages/103882/10 "2019-05-10T10:54:39Z")

</div>


