Support » Themes and Templates » [Twenty Eleven] Header Image via SSL-Proxy not loadin

  • Hello,

    i am running a WP Page with Twenty Eleven Theme enabled and i need it to be available as https and http.
    I am using an SSL-Proxy and everything works well except the header image is not loading while on

    I added

    if( isset( $_SERVER['HTTP_X_FORWARDED_SERVER'] ) ) {
    # mit SSL-Proxy
      $_SERVER['HTTP_HOST'] = '';
      $_SERVER['REQUEST_URI']='/mydomain.tld'. $_SERVER['REQUEST_URI'];
      define('WP_SITEURL', '');
      define('WP_HOME', '');
    } else {
    # Ohne SSL-Proxy
      define('WP_SITEURL', 'http://www.mydomain.tld');
      define('WP_HOME', 'http://www.mydomain.tld');

    to wp-config.php for this.
    I tried WordPress HTTPS but doesnt work for me.

    After checking the src-URL which is used for the header-Image i noticed that it starts with https://www.mydomain.tld/… which is wrong.

    I couldnt find the place for changing that wrong URL.

    I just had a quick check for other Image-URLs which are also wrong.

    Can someone please explain where i can change the URL for the pictures?
    Maybe i just have to add something to the code i posted earlier?

    Thanks in advance for every reply.

  • The topic ‘[Twenty Eleven] Header Image via SSL-Proxy not loadin’ is closed to new replies.