Support » Fixing WordPress » Featured images not showing after SSL and https transfer

  • Resolved williambanks

    (@williambanks)


    Hi guys, I recently transferred or upgraded from http to https via installing a SSL. It took a bit of doing getting the site secure on all pages but done that. Each single post displays the images fine but for the blog page and home page with a list of blog posts the featured images are not showing, also inside the media gallery I have blank squares where the images were. I’ve checked my sever and the images are there just can’t seem to get it to work. I’ve tried changing permissions via control panel and updating the htaccess file. Still not working. If you press F12 and view the console window we can see “failed to load resource: the server responed with a status of 500()”

    Any help or advice would be awesome!!!!

    Pages with problem are :
    https://www.combifishing.co.uk/combifishing
    https://www.combifishing.co.uk/combifishing/blog

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Did you make some changes to the database? I see that the images have a 500 error and look like this:

    https://www.combifishing.co.uk/home/whizzerp/public_html/www.combifishing.co.uk/combifishing/wp-content/uploads/2019/09/dynamite-baits-new-carp-fishing-robin-red-8mm-carp-pellets.jpg

    I suspect you did something when you were doing your “bit of doing”.

    Thread Starter williambanks

    (@williambanks)

    No the database was not changed, but I did use the Better search replace plugin to sort out all images and links that use http to https. The hosting provider installed the SSL and this worked for half the pages and some stayed as unsecured even with https, it also was not showing the lock symbol, they fixed that issue, all pages now secure but it’s just the featured images that are not showing.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Were I you, I’d restore the database from a backup prior to the SSL conversion, then re-run the better search replace. Search for http://www.combifishing.co.uk and replace with https://www.combifishing.co.uk.

    If you want to keep digging while you’re in this hole, try replacing https://www.combifishing.co.uk/home/whizzerp/public_html/www.combifishing.co.uk with https://www.combifishing.co.uk. It might fix things and probably won’t make anything worse.

    really it is an absolute local path and not remote ..
    Original bad path:
    https://www.combifishing.co.uk/home/
    To:
    /home/
    backup your files and database before doing anything.

    Result:
    /home/whizzerp/public_html/www.combifishing.co.uk/

    if this is the old local path (the old domain), you need to make another substitution from the result to your new domain (local or remote).
    remote file start with protocol (http:// o https://)
    while all RSS feeds work with a remote path.

    You have /combifishing/wp-content/ ? else the solution of @sterndata is better.

    • This reply was modified 2 years, 9 months ago by autotutorial.
    • This reply was modified 2 years, 9 months ago by autotutorial. Reason: Ti
    Thread Starter williambanks

    (@williambanks)

    So what you’re both saying is start a fresh database and transfer everything back in, or try a restore. I think I will keep trying to fix the issue and if all does not work, I will just restart with a fresh install of wordpress + New database and reset the theme/plugins.

    Thanks For your help guys.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured images not showing after SSL and https transfer’ is closed to new replies.