Gelöst [SHOP-2927] Rich Snippet Fehler in Breadcrumb

Xantiva

Sehr aktives Mitglied
28. August 2016
1.795
316
Düsseldorf
Hi,

das Google Testtool für strukturierte Daten meckert immer den letzten Eintrag in der Breadcrumb Navigation an - es ist kein Wert für item gesetzt:

1546545491908.png

HTML:
<ul id="breadcrumb" class="breadcrumb" itemprop="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
    <li class="breadcrumb-item first" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a itemprop="item" href="https://www.basteln-selbermachen.de/" title="Startseite">
            <span class="fa fa-home"></span>
            <span itemprop="name" class="hidden">Startseite</span>
        </a>
        <meta itemprop="url" content="https://www.basteln-selbermachen.de/">
        <meta itemprop="position" content="1">
    </li>
    <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a itemprop="item" href="https://www.basteln-selbermachen.de/Farben-Stifte" title="Farben &amp; Stifte">
            <span itemprop="name">Farben &amp; Stifte</span>
        </a>
        <meta itemprop="url" content="https://www.basteln-selbermachen.de/Farben-Stifte">
        <meta itemprop="position" content="2">
    </li>
    <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a itemprop="item" href="https://www.basteln-selbermachen.de/Malerei/Acrylfarben" title="Acrylfarben">
            <span itemprop="name">Acrylfarben</span>
        </a>
        <meta itemprop="url" content="https://www.basteln-selbermachen.de/Malerei/Acrylfarben">
        <meta itemprop="position" content="3">
    </li>
    <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a itemprop="item" href="https://www.basteln-selbermachen.de/Malerei/Acrylfarben/Glanzlack" title="Glanzlack">
            <span itemprop="name">Glanzlack</span>
        </a>
        <meta itemprop="url" content="https://www.basteln-selbermachen.de/Malerei/Acrylfarben/Glanzlack">
        <meta itemprop="position" content="4">
    </li>
    <!-- Das ist der letzte Eintrag: -->
    <li class="breadcrumb-item last" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <span itemprop="name">
            <a href="https://www.basteln-selbermachen.de/Acryl-Glanzlack-Hellgelb" title="Acryl-Glanzlack Hellgelb">Acryl-Glanzlack Hellgelb</a>
        </span>
        <meta itemprop="position" content="5">
    </li>
</ul>


Gibt es da einen besonderen Grund, warum die Snippets beim letzten Eintrag anders erzeugt werden?
 

Xantiva

Sehr aktives Mitglied
28. August 2016
1.795
316
Düsseldorf
Danke, beim "Formatieren" der Ausgabe habe ich scheinbar etwas durcheinander gebracht. Du hast Recht, der letzte Eintrag ist nicht verlinkt:
HTML:
<li
class="breadcrumb-item last" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<span
itemprop="name">Acryl-Glanzlack Hellgelb</span><meta
itemprop="position" content="5"></li>
 

Ähnliche Themen