# Change separator in browser title

**URL:** <https://meta.discourse.org/t/change-separator-in-browser-title/42940>\
**Category:** Support\
**Created:** [2016年四月21日 15:09 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940 "2016-04-21T15:09:49Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawaj/32/115970_2.png) [@shawaj](https://meta.discourse.org/u/shawaj)\
**Post date:** [2016年四月21日 15:09 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/1 "2016-04-21T15:09:49Z")

</div>

Hi,

We would like to change the separator in the browser title meta tag to us • as the separator rather than -

How would we do that?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2016年四月21日 19:12 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/2 "2016-04-21T19:12:15Z")

</div>

What do you mean by “browser title meta tag”?

I am unaware of any such tag.

---

<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:** [2016年四月21日 19:16 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/3 "2016-04-21T19:16:10Z")

</div>

> [@shawaj](#):
>
> We would like to change the separator in the browser title meta tag to us • as the separator rather than -

If you are talking about the title tag inside the head, it isn’t possible to change it atm.

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2016年四月21日 19:18 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/4 "2016-04-21T19:18:55Z")

</div>

> [@Falco](#):
>
> If you are talking about the title tag inside the head

That’s what I first thought might have been meant. But the title tag does not have dash separators except between Category and Site. eg.

```plaintext
<title>Change separator in browser title - support - Discourse Meta</title>

```

And those aren’t displayed anywhere that I know of so I don’t see any point to changing them.

---

<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:** [2016年四月21日 19:22 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/5 "2016-04-21T19:22:32Z")

</div>

It is show on the tab name on the browser isn’t? Also Google results.

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2016年四月21日 19:25 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/6 "2016-04-21T19:25:27Z")

</div>

Ah, right you are.

My tabs are always to narrow to show much. But they do indeed show in SERPs

 ![](https://global.discourse-cdn.com/meta/original/3X/2/8/28fad76d6f77be238b238edf857238adc9d5075d.png)

---

<div class="post-metadata">

**Author:** ![shawaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawaj/32/115970_2.png) [@shawaj](https://meta.discourse.org/u/shawaj)\
**Post date:** [2016年四月21日 19:29 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/7 "2016-04-21T19:29:35Z")

</div>

@Falco @Mittineague - yep, that is the one I am talking about, the page title in the headers. Our main site uses • as it is shorter and allows us to get more content into the header (recommended by Yoast for SEO). Not that I am that bothered about it or think that it makes a massive difference - mainly just want it to be the same on our new forum as it is on the main site…and don’t want to change the main site.

So there is no way to do that currently at all?

---

<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:** [2016年四月21日 19:32 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/8 "2016-04-21T19:32:56Z")

</div>

> [@shawaj](#):
>
> So there is no way to do that currently at all?

No clean way.

Technically you can use a sed/awk command on the container bootstrap process but you need to **really** want this to go down that router.

---

<div class="post-metadata">

**Author:** ![shawaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawaj/32/115970_2.png) [@shawaj](https://meta.discourse.org/u/shawaj)\
**Post date:** [2016年四月21日 19:38 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/9 "2016-04-21T19:38:20Z")

</div>

Haha yeah I don’t _really_ want it - but I mean I just hate having them different for aesthetic reasons.

Although I am not a sadist - and I am not very good at coding - so will probably avoid anything too involved.

How to we add SEO tools etc as a feature request?

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2016年四月21日 19:45 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/10 "2016-04-21T19:45:41Z")

</div>

> [@Falco](#):
>
> No clean way.

Agreed.  
You could try hacking Core files, but that could quickly become a maintenance nightmare.

**views/layouts/crawler.html.erb**

```plaintext
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title>

```

**views/layouts/applicaton.html.erb**

```plaintext
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title>

```

> [@shawaj](#):
>
> SEO tools

No need for any.

IMHO Discourse does well as it is.

Or have you personally experienced a problem that could be addressed?

---

<div class="post-metadata">

**Author:** ![shawaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawaj/32/115970_2.png) [@shawaj](https://meta.discourse.org/u/shawaj)\
**Post date:** [2016年四月21日 19:48 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/11 "2016-04-21T19:48:51Z")

</div>

@Mittineague - I disagree with “no need for any” with pretty much every web thing, SEO included. There is always someone who needs this stuff (or in my case, wants it so that it moulds cleanly into an existing environment).

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2016年四月21日 19:50 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/12 "2016-04-21T19:50:53Z")

</div>

Please provide at least one specific example where you would have Discourse do SEO differently than it already does.

---

<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:** [2016年四月21日 20:41 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/13 "2016-04-21T20:41:57Z")

</div>

Yeah, but this is just aesthetics, you don’t get to wave the “important because magic SEO reasons!” 🌟 wand around for this, sorry 😉

---

<div class="post-metadata">

**Author:** ![shawaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawaj/32/115970_2.png) [@shawaj](https://meta.discourse.org/u/shawaj)\
**Post date:** [2016年四月22日 09:32 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/14 "2016-04-22T09:32:41Z")

</div>

@Mittineague - don’t have one as I only installed it yesterday 🙂

@codinghorror - I wish I had a wand! haha. But seriously - my reason is just for aesthetics sure…but that does not mean that SEO is a one-size fits all solution…it is also often a large collection of small changes that create a greater whole. Just take a look at Yoast SEO plugins for Wordpress, as well as their blog - there are a lot of things included there which are lacking…as well as what I would call “social SEO” - for example the ability to add [opengraph data](https://developers.facebook.com/tools/debug/og/object/), the ability to change twitter card types [twitter cards](https://cards-dev.twitter.com/validator) and stuff like that.

Unless I am missing something, we currently can’t do that?

But hey - these are just suggestions to make life easier. Your software is awesome and it is the best forum software I have ever seen (and was a pleasure to install)…so thanks.

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2016年四月22日 18:14 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/15 "2016-04-22T18:14:01Z")

</div>

> [@shawaj](#):
>
> Unless I am missing something, we currently can’t do that?

I don’t know about “changing”, is what is already there incorrect?

```plaintext
<meta property="og:site_name" content="Discourse Meta" />
<meta name="twitter:card" content="summary" />
<meta property="og:url" content="https://meta.discourse.org/t/change-separator-in-browser-title/42940/12" />
<meta name="twitter:url" content="https://meta.discourse.org/t/change-separator-in-browser-title/42940/12" />
<meta property="og:title" content="Change separator in browser title" />
<meta name="twitter:title" content="Change separator in browser title" />
<meta property="og:description" content="Please provide at least one specific example where you would have Discourse do SEO differently than it already does." />
<meta name="twitter:description" content="Please provide at least one specific example where you would have Discourse do SEO differently than it already does." />
<meta property="og:image" content="https://global.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/100/40997_1.png" />
<meta name="twitter:image" content="https://global.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/100/40997_1.png" />

```

---

<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:** [2019年一月10日 12:49 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/16 "2019-01-10T12:49:04Z")

</div>



---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2019年一月10日 12:52 UTC](https://meta.discourse.org/t/change-separator-in-browser-title/42940/17 "2019-01-10T12:52:01Z")

</div>


