Why does the Glide tag output a localized url? #12007
Replies: 3 comments 7 replies
-
Does the image still work? |
Beta Was this translation helpful? Give feedback.
-
Pointing you to #2379 |
Beta Was this translation helpful? Give feedback.
-
One of the reasons is because if you have sites with different domains it would be awkward if you're on We might be able to make it serve from the root though, without a subdirectory, so that Also, if we support localized assets one day, then you'd probably get the localized version at |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why does the Glide tag output a localized url using multisite?
For example:
Main site:
/images/asset/YXNzZXRzL2JhY2tncm91bmRzL3BsYW50My5wbmc=/plant3.png?h=600&fm=webp&s=fe9e7e6669766c452d97411a060ef9cd
English site:
/en/images/asset/YXNzZXRzL2JhY2tncm91bmRzL3BsYW50My5wbmc=/plant3.png?h=600&fm=webp&s=fe9e7e6669766c452d97411a060ef9cd
Won't Google treat them as separate resources even though they are identical? Or is there a setting I'm missing?
The core of the issue is the
URL::prependSiteRoot
inStatamic\Imaging\GlideUrlBuilder
, making it seem this is intended?Beta Was this translation helpful? Give feedback.
All reactions