Support » Plugin: Polylang » Polylang multiple domains – images not shown

  • Love polylang, but now I encounter a problem I seem not to be able to solve by myself:
    The setting:
    3 Domains for 3 languages:
    domain1-de.at
    domain2-en.at
    domain3-it.at

    The domains domain1-de.at and domain3-it.at point to the same folder as the domain domain2-en.at. The folder is named after the domain, “domain2-en.at”.

    One WordPress/Polylang website, stored in folder domain2-en.at.

    Used setting for URL rewrite:
    “The language is set from different domains”.

    Everything works as expected, except one big problem:
    in the italian and english versions of the website no images are shown.

    The image paths are valid, I can address the images correctly in the address bar of the browser.

    But if I use the italian or german domain name, no images are shown in the website, and also no images are shown in the “media”-section of the admin area!
    When I use the developer tools of firefox and hover over “<img src=’…’ ” the message “Image cannot be loaded” is displayed (I use German as preferred browser language, but the meaning is clear).

    Anyone any idea?
    Thanks in advance for your help!
    Martina

    https://wordpress.org/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I should add, if I enter
    “domain2-en.at/path-to-image”
    or
    “domain1-de.at/path-to-image”
    directly in the address bar of my browser, the image is displayed correctly.
    But on the website it is not displayed, if I use domain1-de.at (or domain3-it.at).
    The paths of the images on the website are always “domain2-en.at/path-to-image”, no matter which domain/language is used to access the website.

    Help would be greatly appreciated.
    Saw similar topics here, they seem not to have been resolved.

    Greetings,
    Martina

    Hi, I found a solution though I don’t understand it:
    I use AIOWPS security plugin and Yoast SEO plugin.
    Deactivate the two -> images all there!
    Reactivate the two plugins one by one -> images still all there!

    So… maybe anyone try that too… the good old “deactivate other plugins” method brought a solution in my case, although I do not really understand why.

    If anyone understands what happened I’d be curious…!

    Good luck to you all
    Martina

    folver

    (@folver)

    Thank you so much, this was a life saver.
    Someone please make this a sticky thread or something, so others can follow.

    Disabled AIOSEO and AIOWPS – reactived 1 by 1.
    It finally works!

    Greetings
    Oliver

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Polylang multiple domains – images not shown’ is closed to new replies.