# robots.txt blockiert Crawling durch Google

**URL:** <https://forum.shopware.com/t/robots-txt-blockiert-crawling-durch-google/57876>\
**Category:** Installation/Einstieg\
**Created:** [5. Februar 2019 um 19:21 UTC](https://forum.shopware.com/t/robots-txt-blockiert-crawling-durch-google/57876 "2019-02-05T19:21:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![27nudeln](https://avatars.discourse-cdn.com/v4/letter/2/74df32/32.png) [@27nudeln](https://forum.shopware.com/u/27nudeln)\
**Post date:** [5. Februar 2019 um 19:21 UTC](https://forum.shopware.com/t/robots-txt-blockiert-crawling-durch-google/57876/1 "2019-02-05T19:21:18Z")

</div>

Hallo zusammen,

Ich habe soeben festgestellt, dass meine Website [https://www.kleine-koerbchen.de](https://www.kleine-koerbchen.de)&nbsp;durch die robots.txt komplett blockiert ist. Ich habe heute Abend per ftp eine index.tpl in unserem Theme-Order abgelegt mit unten folgendem Code. Wenn ich nun die robots.txt durch den Browser aufrufe kommt der Inhalt: User-agent: \* Disallow: /

Was mache ich falsch? Kann jemand helfen?  
Vielen Dank, Anna.

_{extends file=„parent:frontend/robots\_txt/index.tpl“}_

_{block name=„frontend\_robots\_txt\_user\_agent“}  
User-agent: \*  
{/block}_

_{block name=„frontend\_robots\_txt\_disallows“}  
Disallow: {url controller=compare fullPath=false}_

_Disallow: {url controller=checkout fullPath=false}_

_Disallow: {url controller=register fullPath=false}_

_Disallow: {url controller=account fullPath=false}_

_Disallow: {url controller=address fullPath=false}_

_Disallow: {url controller=note fullPath=false}_

_Disallow: {url controller=widgets fullPath=false}_

_Disallow: {url controller=listing fullPath=false}_

_Disallow: {url controller=ticket fullPath=false}  
{/block}_

_{block name=„frontend\_robots\_txt\_allows“}  
Allow: {url module=widgets controller=emotion fullPath=false}  
{/block}_

_{block name=„frontend\_robots\_txt\_sitemap“}  
Sitemap: {url controller=index}sitemap\_index.xml  
{/block}_

_{\*  
&nbsp; &nbsp; @deprecated_

_&nbsp; &nbsp; Will be removed in 5.6 without alternative  
\*}  
{block name=„frontend\_robots\_txt\_sitemap\_mobile“}{/block}  
{/extends}_

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [5. Februar 2019 um 20:34 UTC](https://forum.shopware.com/t/robots-txt-blockiert-crawling-durch-google/57876/2 "2019-02-05T20:34:12Z")

</div>

Wahrscheinlich hast du vom Hoster eine robots.txt im Hauptverzeichnis liegen, lösch die mal, da dann die von Shopware nicht greift

---

<div class="post-metadata">

**Author:** ![27nudeln](https://avatars.discourse-cdn.com/v4/letter/2/74df32/32.png) [@27nudeln](https://forum.shopware.com/u/27nudeln)\
**Post date:** [5. Februar 2019 um 22:18 UTC](https://forum.shopware.com/t/robots-txt-blockiert-crawling-durch-google/57876/3 "2019-02-05T22:18:12Z")

</div>

Du meinst die robots.txt im www.-Verzeichnis? Die habe ich gerade per ftp gelöscht, jetzt liegt gar keine robots.txt mehr im Verzeichnis.&nbsp;Es macht aber keinen Unterschied. Die URL bringt nach wie vor “User-agent: \* Disallow: /”

---

<div class="post-metadata">

**Author:** ![Lavean](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/lavean/32/22236_2.png) [@Lavean](https://forum.shopware.com/u/Lavean)\
**Post date:** [14. November 2019 um 09:50 UTC](https://forum.shopware.com/t/robots-txt-blockiert-crawling-durch-google/57876/4 "2019-11-14T09:50:11Z")

</div>

Ist ja schon was älter, aber das Problem sollte sich lösen lassen, wenn du in deinem Theme das

"_{extends file=„parent:frontend/robots\_txt/index.tpl“}"_

löschst. Denn durch diese Zeile wird ja trotzdem noch auf die ursprüngliche robots.txt zugegriffen.
