# Change title tag of the 404 page

**URL:** <https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707>\
**Category:** Development\
**Created:** [April 6, 2018, 10:44am UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707 "2018-04-06T10:44:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.vdheurik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/h.vdheurik/32/78661_2.png) [@h.vdheurik](https://meta.discourse.org/u/h.vdheurik)\
**Post date:** [April 6, 2018, 10:44am UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707/1 "2018-04-06T10:44:02Z")

</div>

Is it possible to change the title tag of the 404 page ? I now i can change the text that is displayed but i can’t seem to find how to change the title tag. It shows the name of our discourse page.

---

<div class="post-metadata">

**Author:** ![Jon\_Shubeli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jon_shubeli/32/252786_2.png) [@Jon\_Shubeli](https://meta.discourse.org/u/Jon_Shubeli)\
**Post date:** [March 11, 2022, 7:28am UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707/2 "2022-03-11T07:28:10Z")

</div>

This would be very valuable as it is needed to track 404 pages in Google Analytics. Does anyone have any input?

---

<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:** [May 13, 2022, 5:25pm UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707/3 "2022-05-13T17:25:33Z")

</div>

I actually agree with this one @zogstrip, our 404 page oddly enough does not have a distinct `<title>`. We should add `- Page Not Found` or something on the end at least.

```plaintext
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Discourse Meta</title>

```

Above is a random 404 link here to meta 👆

---

<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:** [May 13, 2022, 8:00pm UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707/4 "2022-05-13T20:00:53Z")

</div>

> [@codinghorror](#):
>
> We should add `- Page Not Found` or something on the end at least.

@nbianca can you add this one to your list?

---

<div class="post-metadata">

**Author:** ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)\
**Post date:** [May 16, 2022, 8:14pm UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707/5 "2022-05-16T20:14:23Z")

</div>

I added a generic “Page Not Found - SITE\_TITLE” title. It is a translatable string and can be easily customized.

> <https://github.com/discourse/discourse/pull/16846>
>
> The title had to be added both on the 404 page generated by the server
> side, di…splayed when the user reaches a bad page directly and the 404
> page rendered by Ember when a user reaches a missing topic while
> navigating the forum.

---

<div class="post-metadata">

**Author:** ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)\
**Post date:** [May 21, 2022, 5:00am UTC](https://meta.discourse.org/t/change-title-tag-of-the-404-page/84707/6 "2022-05-21T05:00:54Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
