# Erstellte robots.txt geht auf Fehler 404

**URL:** https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205
**Category:** Programmierung
**Created:** [14. Oktober 2020 um 12:40 UTC](https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205 "2020-10-14T12:40:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![piratenkiste](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@piratenkiste](https://forum.shopware.com/u/piratenkiste)
#### Post date: [14. Oktober 2020 um 12:40 UTC](https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205/1 "2020-10-14T12:40:22Z")

</div>

Hallo, ich habe eine robots.txt erstellt und in den Ordner /public hochgeladen. Wenn ich diese Datei nun aufrufe, werde ich weitergeleitet zu meinem Shop mit einer 404 Seite.

Die google search console findet die Datei auch nicht…woran liegt dies ?

---

<div class="post-metadata">

### Author: ![tarkka.ch](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/tarkka.ch/32/13452_2.png) [@tarkka.ch](https://forum.shopware.com/u/tarkka.ch)
#### Post date: [14. Oktober 2020 um 13:25 UTC](https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205/2 "2020-10-14T13:25:15Z")

</div>

Wieso lädts Du eine eigene robots.txt rauf? Die gibt es in Shopware doch bereits.

Dieser Inhalt darf natürlich nicht in die robots.txt, sondern in die Datei /frontend/robots\_txt/index.tpl.&nbsp;

---

<div class="post-metadata">

### Author: ![piratenkiste](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@piratenkiste](https://forum.shopware.com/u/piratenkiste)
#### Post date: [14. Oktober 2020 um 18:26 UTC](https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205/3 "2020-10-14T18:26:31Z")

</div>

mir scheint du bist gerade bei SW5 …dss Verzeichnis&nbsp;/frontend/robots\_txt/index.tpl gibt es bei mir in sw6 nicht

---

<div class="post-metadata">

### Author: ![MrAle](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MrAle](https://forum.shopware.com/u/MrAle)
#### Post date: [14. Oktober 2020 um 18:30 UTC](https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205/4 "2020-10-14T18:30:25Z")

</div>

Mir scheint das du dein Forum Post falsch erstellt hast - Kuck mal nach oben wo er steht. Ist nämlich im SW5 Topic. Dachts mir schon bei deinem “/public”.

Bin leider nocht nicht produktiv auf SW6 weswegen ich da nicht helfen kann.

---

<div class="post-metadata">

### Author: ![piratenkiste](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@piratenkiste](https://forum.shopware.com/u/piratenkiste)
#### Post date: [15. Oktober 2020 um 13:41 UTC](https://forum.shopware.com/t/erstellte-robots-txt-geht-auf-fehler-404/70205/5 "2020-10-15T13:41:19Z")

</div>

![Grin](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/grin.png "Grin")&nbsp;ok dann werde ich mal das Forum wechseln
