# SEO Urls - Probleme beim Einstellen

**URL:** <https://forum.shopware.com/t/seo-urls-probleme-beim-einstellen/86669>\
**Category:** Shopware 6 (German)\
**Created:** [6. April 2021 um 10:15 UTC](https://forum.shopware.com/t/seo-urls-probleme-beim-einstellen/86669 "2021-04-06T10:15:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cormas](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@Cormas](https://forum.shopware.com/u/Cormas)\
**Post date:** [6. April 2021 um 10:15 UTC](https://forum.shopware.com/t/seo-urls-probleme-beim-einstellen/86669/1 "2021-04-06T10:15:15Z")

</div>

Hallo zusammen,

ich versuche seit einer gefühlten Ewigkeit für unseren Shop die SEO Urls anzupassen.

Die Vorgabe ist hierbei [domain.de/Kategoriename/Productname](http://domain.de/Kategoriename/Productname)

Leider komme ich hier nicht wirklich weiter, wenn ich es über

{% for part in product.mainCategory.breadcrumb %}{{ part }}/{% endfor %}{{ product.translated.name }}

probiere, bekomme ich als Ergebnis

[domain.de/Hauptkategorie/Unterkategorie/Produktname](http://domain.de/Hauptkategorie/Unterkategorie/Produktname)

Die Hauptkategorie ist mir aber zu viel.

Jemand eine Idee was ich hier anders machen kann?

---

<div class="post-metadata">

**Author:** ![yicdeniz](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yicdeniz/32/7847_2.png) [@yicdeniz](https://forum.shopware.com/u/yicdeniz)\
**Post date:** [7. April 2021 um 08:51 UTC](https://forum.shopware.com/t/seo-urls-probleme-beim-einstellen/86669/2 "2021-04-07T08:51:24Z")

</div>

{% for part in product.mainCategory.breadcrumb %}{% if loop.index \>2 %}{{ part|lower }}/{% endif %}{% endfor %}{{ product.translated.name|lower }}

Ggf. loop.index \> von 2 auf 1 ändern. Je nachdem, was du für eine Struktur hast.

---

<div class="post-metadata">

**Author:** ![Cormas](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@Cormas](https://forum.shopware.com/u/Cormas)\
**Post date:** [19. April 2021 um 11:29 UTC](https://forum.shopware.com/t/seo-urls-probleme-beim-einstellen/86669/3 "2021-04-19T11:29:53Z")

</div>

Funktioniert soweit wie es soll, jedoch bekomme ich bei Produkten mit Produktvariationen Probleme und es wird dann [domain.de/detail/2e3776841c6447c88a7a02dc2171f854](http://domain.de/detail/2e3776841c6447c88a7a02dc2171f854) angezeigt
