# Andere Media URLs in Dev-Umgebung

**URL:** <https://forum.shopware.com/t/andere-media-urls-in-dev-umgebung/72832>\
**Category:** Installation / Einstieg\
**Created:** [16. Februar 2021 um 20:14 UTC](https://forum.shopware.com/t/andere-media-urls-in-dev-umgebung/72832 "2021-02-16T20:14:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanSch](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stefansch/32/8550_2.png) [@StefanSch](https://forum.shopware.com/u/StefanSch)\
**Post date:** [16. Februar 2021 um 20:14 UTC](https://forum.shopware.com/t/andere-media-urls-in-dev-umgebung/72832/1 "2021-02-16T20:14:25Z")

</div>

Kurz vorneweg: Installation des Shops via&nbsp;composer (analog zu&nbsp;[GitHub - shopware/production: Shopware 6 production template](https://github.com/shopware/production)), sowohl auf dem Live Server, als auch in einer DDEVlocal Docker-Umgebung für die lokale Entwicklung. Beides funktioniert ohne Probleme.&nbsp;  
Weil wir jetzt mit den echten Daten aus dem Live-Shop ein paar Sachen testen wollen brauche ich in der Entwicklungsumgebung eine Kopie davon, also hole ich mir einen DB Dump und eine Kopie von /media und lade beides in meinen lokalen Shop.  
Backend, Storefront/Verkaufskanäle, Kategorien, Produkte, etc. ist auch alles da und funktioniert so wie es soll.

ABER: die URLs zu den Bildern unterscheiden&nbsp;sich von den Pfaden auf dem Live Server. Was auf Live „/media/52/cd/9f/1586783317/Citroen.jpg“ ist, ist auf Dev „media/5a/0a/c0/1586783317/Citroen.jpg“.

Woher kommt das? Wieso ist dort nicht der gleiche Pfad? Werden die Pfade in SW6 soviel anders gebaut wie in SW5? Wie werden die in SW6 gebaut?

---

<div class="post-metadata">

**Author:** ![StefanSch](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stefansch/32/8550_2.png) [@StefanSch](https://forum.shopware.com/u/StefanSch)\
**Post date:** [18. Februar 2021 um 19:16 UTC](https://forum.shopware.com/t/andere-media-urls-in-dev-umgebung/72832/2 "2021-02-18T19:16:50Z")

</div>

> <https://github.com/shopware/platform/issues/781>
>
> Description
> When updating to 6.2 RC1, the paths of images got broken - every one.
> Here is an example for demostore-logo:
> 6.1.\*: media/dd/15/32/1585220955/demostore-logo.png
> 6.2 RC1:...

— closed ----
