# Shopware 6 EA, keine Indexierung durch Suchmaschinen

**URL:** https://forum.shopware.com/t/shopware-6-ea-keine-indexierung-durch-suchmaschinen/60500
**Category:** Installation / Einstieg
**Created:** [18. Juli 2019 um 08:05 UTC](https://forum.shopware.com/t/shopware-6-ea-keine-indexierung-durch-suchmaschinen/60500 "2019-07-18T08:05:04Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![sonic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sonic/32/25728_2.png) [@sonic](https://forum.shopware.com/u/sonic)
#### Post date: [15. August 2019 um 17:01 UTC](https://forum.shopware.com/t/shopware-6-ea-keine-indexierung-durch-suchmaschinen/60500/10 "2019-08-15T17:01:24Z")

</div>

So, nach meinem Serverumzug bei All-Inkl funktionierte obiges Exclude der API nicht mehr.  
Nach längerem&nbsp;Basteln und Googlen habe ich nun folgende Lösung (.htacess im übergeordneten Pfad, also z.B. dem Ordner vor public)  
(bei mir in etwa so: devtests/SW6EA/public habe ich es direkt in devtest liegen, so kann ich mit einer Datei mehere Testdomains schützen)

```
AuthType Basic
AuthName 'Authentication required'
AuthUserFile /www/htdocs/meinpfad/.htpasswd
# Allow access to excluded diretories
SetEnvIf Request_URI /api noauth=1

  Require env noauth
  Require env REDIRECT_noauth
  Require valid-user

```

Frontend und /admin fragen noch nach dem Passwort, die API läuft danach aber durch.

---

_[View the full topic](https://forum.shopware.com/t/shopware-6-ea-keine-indexierung-durch-suchmaschinen/60500)._
