# Media urls

**URL:** <https://forum.shopware.com/t/media-urls/61342>\
**Category:** Themes & Design (EN)\
**Created:** [27. August 2019 um 08:46 UTC](https://forum.shopware.com/t/media-urls/61342 "2019-08-27T08:46:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [27. August 2019 um 08:46 UTC](https://forum.shopware.com/t/media-urls/61342/1 "2019-08-27T08:46:05Z")

</div>

Not sure if this is an issue but here it goes:

If you set up multiple domains on a storefront  
The media url is generated from the domain you made it from

Replicate issue:

1. Make two domains for a Storefront
2. From domain A go to the theme, set a logo (save…)
3. From domain B go to the frontend, inspect the media url of the logo  
It will be&nbsp;[http://domainA/media](http://domaina/media)…  
instead of  
[http://domainB/media](http://domainb/media)…

I think the media prefix should be dynamic based on the domain you are on  
Not on the domain source…

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [27. August 2019 um 09:12 UTC](https://forum.shopware.com/t/media-urls/61342/2 "2019-08-27T09:12:38Z")

</div>

Sounds like a bug. Could you please report it at [issues.shopware.com](http://issues.shopware.com)?

---

<div class="post-metadata">

**Author:** ![kathi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/kathi/32/20047_2.png) [@kathi](https://forum.shopware.com/u/kathi)\
**Post date:** [18. April 2024 um 11:52 UTC](https://forum.shopware.com/t/media-urls/61342/3 "2024-04-18T11:52:12Z")

</div>

Related question on stack overflow: [shopware6 - Shopware Sales Channels - CORS problems with assets on different domains - Stack Overflow](https://stackoverflow.com/questions/75374693/shopware-sales-channels-cors-problems-with-assets-on-different-domains)  
Should be solved in the meantime with Shopware 6.5, at least I’m not experiencing this anymore for the logo.
