Repository navigation
Why does the Glide tag output a localized url? #12007
Unanswered
vJoeyz
asked this question in
Troubleshooting
Replies: 3 comments 7 replies
|
Does the image still work? |
3 replies
|
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 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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=fe9e7e6669766c452d97411a060ef9cdEnglish site:
/en/images/asset/YXNzZXRzL2JhY2tncm91bmRzL3BsYW50My5wbmc=/plant3.png?h=600&fm=webp&s=fe9e7e6669766c452d97411a060ef9cdWon'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::prependSiteRootinStatamic\Imaging\GlideUrlBuilder, making it seem this is intended?All reactions