• Resolved Fred Chapman

    (@fwchapman)


    I really like this plugin and am using it on a couple of client sites. Unfortunately, I’m having this problem on a site which uses a shared SSL certificate to secure logins and administration over HTTPS: on the Appearance > Header page, all of the images are broken, including the header preview image and all of the thumbnails. I temporarily downgraded site security by eliminating the SSL certificate and doing administration over ordinary HTTP, and that temporarily eliminated the problem.

    Securing WordPress logins and administration over HTTPS with a shared SSL certificate requires different settings for the siteurl and home entries of the options table in the WordPress database. I generally use something like this:

    options > siteurl: http://SERVER.WEBHOST.com/~ACCOUNT

    options > home: http://www.MYDOMAIN.com

    I also use the WordPress HTTPS (SSL) plugin to configure WordPress to use HTTPS for logins and administration. The shared SSL certificate is invoked via

    https://SERVER.WEBHOST.com

    Can you please fix this issue in a future release?

    Thanks for a great plugin,

    Fred Chapman

    http://wordpress.org/extend/plugins/wp-display-header/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Fred Chapman

    (@fwchapman)

    P.S. In the page/post edit screen, the plugin serves header image thumbnails over HTTP rather than HTTPS, and everything works fine there.

    Thread Starter Fred Chapman

    (@fwchapman)

    P.P.S. An easy way to fix the broken images on the Appearance > Header page might be to serve images using root-relative paths. Omitting the HTTP or HTTPS protocol and the domain name completely could clear this up.

    Plugin Author Konstantin Obenland

    (@obenland)

    Thanks for bringing the issue to my attention!
    I opened an issue on GitHub and will look into it for the next update.

    Thread Starter Fred Chapman

    (@fwchapman)

    Thank you, Konstantin!

    Thread Starter Fred Chapman

    (@fwchapman)

    SOLUTION

    I found a way to solve my problem by choosing my image paths more carefully. First, I went into

    Settings > Media > Full URL path to files

    and changed the URL so that it uses the domain for the SSL host. I then updated the HEADER_URL in my theme’s functions.php file. Finally, I used the Search and Replace plugin to safely update existing image URLs in the post_content and guid fields of the _posts table and the meta_value field of the _postmeta table.

    Problem solved!

    stephanmonecke

    (@stephanmonecke)

    The solution vanished with the deletion of Full URL path to files with WordPress 3.5! 🙁

    My header-image is also broken using ssl.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SSL/HTTPS Breaks Images on Appearance > Header Page’ is closed to new replies.