# Einzelne Artikel nicht indexieren

**URL:** <https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293>\
**Category:** Shopware 3.5\
**Tags:** themes--design\
**Created:** [25. Februar 2015 um 13:01 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293 "2015-02-25T13:01:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [25. Februar 2015 um 13:01 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/1 "2015-02-25T13:01:00Z")

</div>

Wir sind nach dieser Anleitung gegangen. [http://wiki.shopware.com/Wie-kann-ich-einzelne-Artikel-von-der-Indexierung-der-Suchmaschinen-ausschlie%C3%9Fen\_detail\_1762.html](http://wiki.shopware.com/Wie-kann-ich-einzelne-Artikel-von-der-Indexierung-der-Suchmaschinen-ausschlie%C3%9Fen%5C_detail%5C_1762.html) Jetzt ist es so das neuangelegte Artikel generell ein noindex haben ob das häckchen gesetzt ist oder nicht. Alte Artikel werden mit index angezeigt, ändere ich diese haben ich das gleiche Problem. So richtig wissen wir hier nicht weiter.

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [25. Februar 2015 um 13:35 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/2 "2015-02-25T13:35:41Z")

</div>

Hab das ganze auch mal direkt in \_default gemacht. Das gleiche Problem. :oops:

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [25. Februar 2015 um 14:58 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/3 "2015-02-25T14:58:17Z")

</div>

Ich hab das ganze jetzt auf einer frische Shopware Installation getestet und direkt in dem \_default Ordner geändert. Der Artikel steht auf noindex obwohl da kein häckchen gesetzt wurde. Wenn ich in der header.tpl attr4 auf attr5 setzte steht wieder index. Warum auch immer, attr4 wird immer gesetzt. :oops: Version 4.3.0

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [26. Februar 2015 um 14:06 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/4 "2015-02-26T14:06:42Z")

</div>

Wir haben jetzt Shopware in einer Testumgebung komplett neu installiert. Direkt in templates/\_default/frontend/index/header.tpl folgende Anpassung gemacht. `{\* Meta-Tags \*} {block name='frontend\_index\_header\_meta\_tags'} <meta name="author" content="{s name='IndexMetaAuthor'}{/s}"><meta name="copyright" content="{s name='IndexMetaCopyright'}{/s}"><meta name="robots" content="{block name='frontend_index_header_meta_robots'}{if $sArticle.attr4}noindex,follow{else}{s name='IndexMetaRobots'}{/s}{/if}{/block}"><meta name="revisit-after" content="{s name='IndexMetaRevisit'}{/s}"><meta name="keywords" content="{block name='frontend_index_header_meta_keywords'}{if $sCategoryContent.metaKeywords}{$sCategoryContent.metaKeywords}{else}{s name='IndexMetaKeywordsStandard'}{/s}{/if}{/block}"><meta name="description" content="{block name='frontend_index_header_meta_description'}{s name='IndexMetaDescriptionStandard'}{/s}{/block}"><link rel="shortcut icon" href="%7Bs%20name='IndexMetaShortcutIcon'%7D%7Blink%20file='frontend/_resources/favicon.ico'%7D%7B/s%7D" type="image/x-icon">{\* Favicon \*} {/block}` Ob das häckchen gesetzt ist oder nicht. Es es immer NOINDEX. attr4 ist ebenfalls angelegt. Kann das mal jemand bei sich testen?

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [27. Februar 2015 um 09:06 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/5 "2015-02-27T09:06:54Z")

</div>

Wäre schön wenn jemand von Shopware was dazu sagen würde. Das Wiki scheint nicht zu funktionieren. Ist für uns sehr wichtig.

---

<div class="post-metadata">

**Author:** ![t2oh4e](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@t2oh4e](https://forum.shopware.com/u/t2oh4e)\
**Post date:** [27. Februar 2015 um 10:25 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/6 "2015-02-27T10:25:53Z")

</div>

Ersetz mal {if $sArticle.attr4} durch {if $sArticle.attr4 == „true“}

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [27. Februar 2015 um 10:58 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/7 "2015-02-27T10:58:23Z")

</div>

Mit der Abfrage gehts. :thumbup: DANKE Ist das WIKI falsch.

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [27. Februar 2015 um 11:38 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/8 "2015-02-27T11:38:51Z")

</div>

Doch noch nicht geschafft. ☹ Jetzt hab ich das Problem das bei noindex kein canonical angezeigt werden soll. bei dem code wird jetzt generell kein canonical angezeigt. detail/header.tpl `{\* Canonical link \*} {block name='frontend\_index\_header\_canonical'} {if !$sArticle.attr4 == "true"}<link rel="canonical" href="%7Burl%20sArticle=%24sArticle.articleID%20title=%24sArticle.articleName%7D">{/if} {/block}`

---

<div class="post-metadata">

**Author:** ![t2oh4e](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@t2oh4e](https://forum.shopware.com/u/t2oh4e)\
**Post date:** [27. Februar 2015 um 12:00 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/9 "2015-02-27T12:00:34Z")

</div>

`!$sArticle.attr4 == "true"` ändern in `$sArticle.attr4 != "true"` (ungetestet)

---

<div class="post-metadata">

**Author:** ![kessyfashion](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kessyfashion](https://forum.shopware.com/u/kessyfashion)\
**Post date:** [27. Februar 2015 um 12:13 UTC](https://forum.shopware.com/t/einzelne-artikel-nicht-indexieren/25293/10 "2015-02-27T12:13:24Z")

</div>

[quote=“t2oh4e”]`!$sArticle.attr4 == "true"` ändern in `$sArticle.attr4 != "true"` (ungetestet)[/quote] Läuft danke. war ne schwere geburt. 🕶
