# ביקור בקישור 404 מסיר את הכותרת מהתכונות שלו (אוואטר, חיפוש, המבורגר וכו')

**URL:** https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996
**Category:** UX
**Created:** [8 באפריל,‏ 2023,‏ 12:26am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996 "2023-04-08T00:26:38Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [8 באפריל,‏ 2023,‏ 12:26am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/1 "2023-04-08T00:26:38Z")

</div>

If we follow a gone link it’s like we’re suddenly not a member anymore:

- Our cheery icon is gone from the upper right, as are the helpful search and “chat” icons.
- The friendly three bar menu is gone from the upper left.
- _Sayonara_ sidebars too.

It’s like some crisis has happened.

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

---

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [8 באפריל,‏ 2023,‏ 2:51am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/2 "2023-04-08T02:51:44Z")

</div>

Visiting bad link on mobile: everything is still there

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/e/4/8e40da6685d121b403565c7d200b5241c1ae8558.png)

---

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [8 באפריל,‏ 2023,‏ 3:43am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/3 "2023-04-08T03:43:19Z")

</div>

All I know is

 ![20230408T114142](https://global.discourse-cdn.com/meta/original/4X/f/8/d/f8d533f1b66becd7a81ee38c459013b21cde6a0a.jpeg)

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [8 באפריל,‏ 2023,‏ 9:05am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/4 "2023-04-08T09:05:33Z")

</div>

I experience the same:

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/d/9/dd9ef4c5bf672e0a7ec107596a4e821458bcf542.png)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [8 באפריל,‏ 2023,‏ 11:17am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/6 "2023-04-08T11:17:24Z")

</div>

AFAIK this is still the case:

> [@Plugin not loaded when route not found](https://meta.discourse.org/t/plugin-not-loaded-when-route-not-found/67265/2):
>
> The error page is a plain HTML page, we don’t load the Javascript app there, so no Ember, JQuery, plugins, etc.

So an error raised by a bad inbound link will serve the flat page, whereas an error from a bad internally navigated link would still contain those elements.

---

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [9 באפריל,‏ 2023,‏ 12:21am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/7 "2023-04-09T00:21:05Z")

</div>

I see.Hopefully [Deleted topics lead to error page](https://meta.discourse.org/t/old-links-not-properly-redirected-by-the-system/260998/) will soon not trigger this in the first place.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [9 באפריל,‏ 2023,‏ 4:25am UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/8 "2023-04-09T04:25:32Z")

</div>

Just another reminder: I work mostly with content and human’s way to use content, and I’m a webmaster, sysadmin and admin of everything just because I’m poor and small fish…

But — can the issue here is so simple that because Discourse is kind of a-typical 😉 web-solution it is harder or close to impossible send JS-based content when serving html status error 404 that needs static content in the meaning how a client sees it? I don’t know at all what W3C, RFC etc. says.

No? Not even close?

---

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [9 באפריל,‏ 2023,‏ 1:52pm UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/9 "2023-04-09T13:52:17Z")

</div>

I thought web pages could have both script and noscript parts.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [9 באפריל,‏ 2023,‏ 3:53pm UTC](https://meta.discourse.org/t/visiting-a-404-link-strips-the-header-from-its-features-avatar-search-hamburger-etc/260996/10 "2023-04-09T15:53:19Z")

</div>

But discourse isn’t web pages, it’s a single page JavaScript app.

If you visit the app via a nonexistent route, such as a broken link, then you are served a static 404 page which is styled to look like the rest of the site. It isn’t part of the app, so can’t function like it.

If you click an internal link (from within the app) to a page which doesn’t exist then it serves you a 404 error within the app itself.

They aren’t the same thing.
