# About.html Seite prominent in Suchergebnissen, aber nicht auffindbar

**URL:** https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207
**Category:** Support
**Created:** [24. September 2020 um 10:28 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207 "2020-09-24T10:28:07Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Krischan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krischan/32/47290_2.png) [@Krischan](https://meta.discourse.org/u/Krischan)
#### Post date: [24. September 2020 um 10:28 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/1 "2020-09-24T10:28:08Z")

</div>

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

Es gibt einen Link zu about.html, aber er fehlt – genau wie hier bei Meta: [About - Discourse Meta](https://meta.discourse.org/about.html)

Habe ich eine Einstellung übersehen oder so? Danke!

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [24. September 2020 um 10:30 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/2 "2020-09-24T10:30:43Z")

</div>

Discourse hat keine .html-Erweiterung.

[About - Discourse Meta](https://meta.discourse.org/about) \<— dies ist die korrekte URL

---

<div class="post-metadata">

### Author: ![Krischan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krischan/32/47290_2.png) [@Krischan](https://meta.discourse.org/u/Krischan)
#### Post date: [24. September 2020 um 10:33 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/3 "2020-09-24T10:33:20Z")

</div>

Ja, danke, aber Google hat irgendwie einen gefunden. 🤷‍♂️

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [24. September 2020 um 10:34 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/4 "2020-09-24T10:34:58Z")

</div>

Ich sehe es nicht

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

---

<div class="post-metadata">

### Author: ![Krischan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krischan/32/47290_2.png) [@Krischan](https://meta.discourse.org/u/Krischan)
#### Post date: [24. September 2020 um 10:42 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/5 "2020-09-24T10:42:47Z")

</div>

Das ist interessant 😉 Ich kann es auch so finden:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/d/1d2fe1173dc86e16ada04b9767fea16f97e5906b.png)  
 → about.html

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [24. September 2020 um 11:00 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/6 "2020-09-24T11:00:36Z")

</div>

Gefunden.

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

Vielleicht solltest du das Sitemap-Plugin installieren

> [@Discourse Sitemap](https://meta.discourse.org/t/discourse-sitemap/40348):
>
> discourse2Summary Discourse Sitemap adds a sitemap.xml to your Discourse instanceopen_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features There has been [some](https://meta.discourse.org/t/how-to-create-xml-sitemap-is-there-any-plugin/33654) [discussion](https://meta.discourse.org/t/sitemap-xml-for-google-webmaster/9054/9) over the need of a sitemap, and I think Discourse doesn’t really need one, although I do believe that a forum might be indexed a bit faster with one. Anyway, we created this plugin because of a customer that needed a sitemap for Google N…

---

<div class="post-metadata">

### Author: ![Krischan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krischan/32/47290_2.png) [@Krischan](https://meta.discourse.org/u/Krischan)
#### Post date: [24. September 2020 um 11:06 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/7 "2020-09-24T11:06:33Z")

</div>

Danke, aber es ist bereits installiert.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [24. September 2020 um 18:51 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/8 "2020-09-24T18:51:00Z")

</div>

Das Sitemap-Plugin wirbt nicht einmal für die Seite `/about`.  
Alles, was mir einfällt, ist, dass jemand irgendwo auf `/about.html` verlinkt hat

und Discourse dafür eine 200 OK zurückgibt 😱 😱 😱

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/4/64a1b9b01e326694d893787d0d7b38af31039348.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/e/6e0c1ab5d3fe0999927300b54d6fbe9d1a954ab1.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: [24. September 2020 um 18:58 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/9 "2020-09-24T18:58:11Z")

</div>

Sie geben für viele Dokumentennamen eine 200-Antwort zurück, obwohl diese ungültig sind:

- faq.html
- categories.html
- u.html
- tags.html
- top.html
- badges.html

Ich habe mich gefragt, ob dies nur mit integrierten Routen zusammenhängt, aber es funktioniert für das Cake-Day-Plugin:

- /cakeday/anniversaries/today.html

nicht jedoch für knowledge-explorer, das bei folgendem Pfad einen 404-Fehler zurückgibt:

- /docs.html

aber nicht bei:

- badges.html

🤔

Gab es vor ein oder zwei Wochen nicht ein ähnliches Problem mit einer JS-Datei?

---

<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: [25. September 2020 um 01:36 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/10 "2020-09-25T01:36:18Z")

</div>

> [@Stephen](#):
>
> Sie liefern für viele Dokumentennamen eine 200-Antwort zurück, obwohl diese ungültig sind:

Hmm, sollten wir für diese ungewöhnlichen URLs @eviltrout eine 200 zurückgeben?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [25. September 2020 um 20:05 UTC](https://meta.discourse.org/t/about-html-page-prominently-in-search-results-but-missing-in-action/165207/11 "2020-09-25T20:05:49Z")

</div>

Dieses Problem hängt mit der Funktionsweise von Rails-Routen zusammen. Standardmäßig erlaubt es jedem Endpunkt, einen `:format`-Parameter mit einem optionalen Punkt anzugeben. `.html` bedeutet also das HTML-Format, `.json` das JSON-Format.

`about.html` ist dasselbe wie `/about` (beide fordern die HTML-Version an). Allerdings existiert die Route `about.html` in Ember nicht, da wir niemals Routen mit der HTML-Erweiterung verwenden. Daher kommt es zu einer Diskrepanz zwischen Backend und Frontend. Der Server antwortet mit 200, aber die Client-Seite sagt dann: „Nein, warten Sie, das wurde nicht gefunden.
