• Resolved fotske

    (@fotske)


    Hi,

    I use the WPML add-on to create feeds in the different languages of my website but there is a problem with the images links (and with the additional image links) when you introduce the feed in Google Merchant Center.
    Google Merchant center says that the image links are incorrect so I digged into the issue and found that in the feed the image links look like that (my website is in French and translated in Dutch):
    – In the French feed the image links are like this: https://www.mywebsite.com/wp-content/uploads/2019/01/nom-du-produit-1.jpg
    – In the Dutch feed the image links are like this: https://www.mywebsite.com/nl/wp-content/uploads/2019/01/nom-du-produit-1.jpg

    So I checked into the WordPress admin in Dutch (in the Dutch media library) and the “File Name” is “nom-du-produit-1” (so it’s the same name than in French), only the “Title” of the image is translated by WPML “naam-van-de-product-1” and in fact the link of the image is the same link as the image in French (so without “/nl” into the URL: https://www.mywebsite.com/wp-content/uploads/2019/01/nom-du-produit-1.jpg

    So of course when the feed says that the image link is https://www.mywebsite.com/nl/wp-content/uploads/2019/01/nom-du-produit-1.jpg, Google doesn’t find the image.

    So it seems that WPML doesn’t change the URL of the images (doesn’t add “/nl” to the URL of the translated images).
    I don’t know if it’s a normal behavior but it’s like that on my website with WPML.

    Is it a problem in the generation of the feed or with WPML? And how to resolve it?

    Thank you very much in advance for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    @fotske,

    I’m already looking into this but have to do some testing. I’ll report back when I have a question or a solution.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    @fotske,

    What version of our WPML add-on are you using?

    Disregard, I see you’ve had other topics and are using the latest version. I’ll look into it further.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    @fotske,

    I send you an email with a new version 1.0.8 that should fix the issue. Could you please test it and let me know if it solved the issue?

    Also let me know should you not have received the mail.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    @fotske,

    I assume the topic has been solved by the mail I send to you, so for now I will close your topic.

    Should the issue still persist, don’t hesitate to reopen the topic again.

    Have a nice day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with the image links in other languages (WPML add-on)’ is closed to new replies.