Query strings break custom images
-
Hi there,
My client has a multilingual site using WPML. When a user switches to a different language version of a page, this adds a query string to the end of the address (e.g. https://urantia-association.org/?lang=fr). This causes the path to the custom images we’re using to break- in the image tag, the src goes from
src="https://urantia-association.org/wp-content/themes/urantia/social_icons/medium/facebook.png"
tosrc="https://urantia-association.org?lang=fr/wp-content/themes/urantia/social_icons/medium/facebook.png"
and the image stops appearing.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query strings break custom images’ is closed to new replies.