• Resolved jrothra

    (@jrothra)


    URL: https://www.keithrothra.com

    When I have no header image, the site show secure. However, when I add a header image via Customizer, Chrome tells me that there is mixed content from that header image (using Chrome DevTools).

    I’ve done all I can think of and nothing works. In the htaccess file I have this:

    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.keithrothra.com/$1 [R=301,L]

    In the WP General settings I have “https” for both the WordPress Address and Site Address. As stated, when I look at the image via the Media section, the URL of the image shows https.

    I also use Moesia on my site (www.johnrothra.com) and don’t have this problem. I’ve tried comparing settings, but don’t see any difference, so I’m baffled.

    To test if there was a cache problem I cleared all caches and cleared my browser history: no change. I also tried uploading a new image but it did the same thing: was pulled by the theme via unsecure protocols.

    Ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @jrothra,

    Please try to manually change https:// to https:// in your database → wp_options table → theme_mods_moesia option. But please try it in staging environment first, not on production site.

    Kind Regards, Roman.

    Thread Starter jrothra

    (@jrothra)

    Roman,

    My host doesn’t offer staging environments, so that’s not an option for me (while we could have a discussion on web hosts, that’s a topic for another thread). Also, both sites listed are on the same host using the same theme and nearly identical plugins (johnrothra.com has a few more, otherwise they are the same), and the setup on both is the same. However, I don’t have this issue on one, only the other.

    Finally, even if I did have a staging enviro option, adjusting the core theme’s files would be negated when the theme updates, correct?

    • This reply was modified 8 years, 1 month ago by jrothra.

    Hello @jrothra,

    I guess that there still is a chance to create staging environment even if hosting provider doesn’t offer easy tools for that, please check this tutorial in order to learn more about it:
    https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    Kind Regards, Roman.

    Thread Starter jrothra

    (@jrothra)

    Roman,

    That link is a great resource! I’ll look into it!

    As to the main issue, I found the problem: me. Yep, me. I looked at the URL of the image and kept overlooking the file name (I have the same image in a smaller size, so I confused the two).

    That said, I’ll definitely check out how to set up a staging area.

    Great! Have a nice day ??

    Kind Regards, Roman.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header Images Pulling via HTTP yet Media Gallery shows URL is HTTPS’ is closed to new replies.