Switched My Main Site to SSL today and Images No Longer Appearing in My WP Blog
-
Hello Ross and company,
I am hoping you can help me.
Since earlier today, I have been converting my main website — wwww.billkochman.com — over to the SSL protocol, using “Let’s Encrypt” and the “Certbot”.
Other than having a problem now with figuring out how to have http requests redirected to https URLs instead, I have made considerable progress after a few headaches and frustrations; so much so that thousands of my web pages now have a green lock, to my extreme delight.
I run my web server with MAMP PRO 4.1 on an old 24″ iMac running El Capitan 10.11.6.
With most of my site now showing green locks in my web browser, I decided to move over to the WordPress part of my setup, so that I could convert everything in WordPress to https URLs as well.
What I discovered upon going to my blog are two things:
1. I have the gray lock with yellow caution warning icon due to mixed content, and some of my content not being secure, meaning the images, which is the same issue I had with the main part of my website until I fixed thousands of URLs via global find and replace with BBEdit.
2. But what is just as bad, is that none of my images are now appearing on my main blog page, or on any of the individual post pages.
Oddly enough, if I click on the edit button for a post, I do see the actual image in “visual” mode. Furthermore, in “text” mode, I can plainly see that the correct image URL is there in the code.
I have done only two things which may have caused this, although I am not sure if that is truly the case or not.
On WP’s “General Settings” page, I changed both the “WordPress Address” URL and the “Site Address” URL from “http” to “https”.
Then, hoping to get rid of the gray lock and yellow warning icon, after backing up my entire WP database, I used phpMyAdmin to go into the WP Posts table, and I used the SQL function to find and replace all occurrences of “https://www.my-domain” in the posts’ contents with “https://www.my-domain”.
Everything went without a hitch, and no errors were reported. In fact, I visually inspected the new SQL backup file after I saved it to a BBEdit text file. Everything was in fact converted from http to https.
However, I still cannot see my images, unless I am in edit mode for a post.
I installed your plugin, hoping that maybe it might be able to fix whatever is wrong. It is currently set to the “Simple” setting.
Obviously, I don’t believe that your plugin caused this problem, because I hadn’t even installed it quite yet.
Anyway, I am very new to SSL installations, having run my web server for years without it, being as I am not a commercial website. But, Google, Mozilla, etc., are now forcing everyone’s hand, and “Let’s Encrypt” and “Certbot” are free, so . . .
At any rate, given the fact that you are much more knowledgeable than I regarding these things, if you have any idea how I can fix this missing images problem, I would really appreciate hearing it. Would raising the setting in your plugin possibly fix this, and the expense of more drag on the blog?
Thanks so much!
Kind regards,
WW
- The topic ‘Switched My Main Site to SSL today and Images No Longer Appearing in My WP Blog’ is closed to new replies.